Struct webwire::server::session::DefaultSessionHandler [−][src]
Expand description
This implementation of a SessionHandler
creates sessions
using the Default
trait of given session type.
Implementations
Trait Implementations
Authorize the incoming request returning a session on
success or an AuthError
if the remote side could not be
authenticated. Read more
Called when the remote side did actually connect. This is
a separate function from auth
as this handler is also
used for stateless communications and it is possible that
a stateful clients aborts right after authorization and
never actually connects. Read more
Auto Trait Implementations
impl<S> RefUnwindSafe for DefaultSessionHandler<S> where
S: RefUnwindSafe,
impl<S> Send for DefaultSessionHandler<S>
impl<S> Sync for DefaultSessionHandler<S>
impl<S> Unpin for DefaultSessionHandler<S> where
S: Unpin,
impl<S> UnwindSafe for DefaultSessionHandler<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more