[][src]Struct melib::backends::Backends

pub struct Backends {
    map: HashMap<String, Backend>,
}

A hashmap containing all available mail backends. An abstraction over any available backends.

Fields

map: HashMap<String, Backend>

Implementations

impl Backends[src]

pub fn new() -> Self[src]

pub fn get(&self, key: &str) -> BackendCreator[src]

pub fn register(&mut self, key: String, backend: Backend)[src]

pub fn validate_config(&self, key: &str, s: &AccountSettings) -> Result<()>[src]

Trait Implementations

impl Default for Backends[src]

Auto Trait Implementations

impl !RefUnwindSafe for Backends

impl !Send for Backends

impl !Sync for Backends

impl Unpin for Backends

impl !UnwindSafe for Backends

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]