pub enum ServerAccept<Transport, State, Peer, Identity = TrustIdentity, Handler = IdentityServerHandler> {
Session(ServerConnection<Transport, State, Peer, Identity, Handler>),
Cancellation(ServerCancellation<Transport, State, Peer, Handler>),
}Expand description
Result of accepting one caller-established transport.
Variants§
Session(ServerConnection<Transport, State, Peer, Identity, Handler>)
Authentication completed and the connection is operational.
Cancellation(ServerCancellation<Transport, State, Peer, Handler>)
The first packet was an out-of-band cancellation request.
Trait Implementations§
Auto Trait Implementations§
impl<Transport, State, Peer, Identity = TrustIdentity, Handler = IdentityServerHandler> !Freeze for ServerAccept<Transport, State, Peer, Identity, Handler>
impl<Transport, State, Peer, Identity = TrustIdentity, Handler = IdentityServerHandler> !RefUnwindSafe for ServerAccept<Transport, State, Peer, Identity, Handler>
impl<Transport, State, Peer, Identity = TrustIdentity, Handler = IdentityServerHandler> !UnwindSafe for ServerAccept<Transport, State, Peer, Identity, Handler>
impl<Transport, State, Peer, Identity, Handler> Send for ServerAccept<Transport, State, Peer, Identity, Handler>
impl<Transport, State, Peer, Identity, Handler> Sync for ServerAccept<Transport, State, Peer, Identity, Handler>
impl<Transport, State, Peer, Identity, Handler> Unpin for ServerAccept<Transport, State, Peer, Identity, Handler>
impl<Transport, State, Peer, Identity, Handler> UnsafeUnpin for ServerAccept<Transport, State, Peer, Identity, Handler>where
State: UnsafeUnpin,
Handler: UnsafeUnpin,
Transport: UnsafeUnpin,
Peer: UnsafeUnpin,
Identity: UnsafeUnpin,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more