Struct samotop::service::session::StatefulSessionService
source · pub struct StatefulSessionService<S> { /* private fields */ }
Implementations
sourceimpl<S> StatefulSessionService<S>
impl<S> StatefulSessionService<S>
Trait Implementations
sourceimpl<S: Clone> Clone for StatefulSessionService<S>
impl<S: Clone> Clone for StatefulSessionService<S>
sourcefn clone(&self) -> StatefulSessionService<S>
fn clone(&self) -> StatefulSessionService<S>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<S, M, MFut, GFut> SessionService for StatefulSessionService<S>where
S: NamedService + Clone,
S: MailGuard<Future = GFut>,
S: MailQueue<MailFuture = MFut, Mail = M>,
MFut: Future<Item = Option<M>>,
GFut: Future<Item = AcceptRecipientResult>,
M: Mail,
M: Sink<SinkItem = Bytes, SinkError = Error>,
impl<S, M, MFut, GFut> SessionService for StatefulSessionService<S>where
S: NamedService + Clone,
S: MailGuard<Future = GFut>,
S: MailQueue<MailFuture = MFut, Mail = M>,
MFut: Future<Item = Option<M>>,
GFut: Future<Item = AcceptRecipientResult>,
M: Mail,
M: Sink<SinkItem = Bytes, SinkError = Error>,
type Handler = StatefulSessionHandler<S, M, MFut, GFut>
fn start(&self, tls_conf: TlsControll) -> Self::Handler
Auto Trait Implementations
impl<S> RefUnwindSafe for StatefulSessionService<S>where
S: RefUnwindSafe,
impl<S> Send for StatefulSessionService<S>where
S: Send,
impl<S> Sync for StatefulSessionService<S>where
S: Sync,
impl<S> Unpin for StatefulSessionService<S>where
S: Unpin,
impl<S> UnwindSafe for StatefulSessionService<S>where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more