Trait gotham::middleware::session::NewBackend [] [src]

pub trait NewBackend: Sync + Clone + RefUnwindSafe {
    type Instance: Backend + 'static;
    fn new_backend(&self) -> Result<Self::Instance>;
}

A type which is used to spawn new Backend values.

Associated Types

The type of Backend created by the NewBackend.

Required Methods

Create and return a new Backend value.

Implementors