Struct merfolk::MerBuilder[][src]

pub struct MerBuilder<B, F> where
    B: Backend,
    F: Frontend<Backend = B>, 
{ /* fields omitted */ }

Builder for Mer.

Implementations

impl<B, F> MerBuilder<B, F> where
    B: Backend,
    B: 'static,
    F: Frontend<Backend = B>,
    F: 'static, 
[src]

pub fn backend(self, value: B) -> Self[src]

pub fn frontend(self, value: F) -> Self[src]

pub fn middlewares(self, value: Vec<Box<dyn Middleware<Backend = B>>>) -> Self[src]

pub fn build(self) -> Result<Mer<B, F>>[src]

Builds a new Mer.

Registers the Backend, Frontend and Middlewares.

Trait Implementations

impl<B, F> Default for MerBuilder<B, F> where
    B: Backend,
    F: Frontend<Backend = B>, 
[src]

Auto Trait Implementations

impl<B, F> RefUnwindSafe for MerBuilder<B, F>[src]

impl<B, F> Send for MerBuilder<B, F>[src]

impl<B, F> Sync for MerBuilder<B, F>[src]

impl<B, F> Unpin for MerBuilder<B, F>[src]

impl<B, F> UnwindSafe for MerBuilder<B, F>[src]

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, 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.