pub enum TransportTerminal {
PeerClosed,
CloseCompleted,
SocketFailed(SocketFailure),
ProtocolViolation(FrameViolation),
}Expand description
The one typed terminal fate a driver lifetime mints (F3).
Variants§
PeerClosed
The peer closed the connection cleanly without a local close command.
CloseCompleted
A locally commanded close completed with the echoed close event.
SocketFailed(SocketFailure)
The socket failed with a typed failure class.
ProtocolViolation(FrameViolation)
An inbound message violated the canonical-frame contract.
Trait Implementations§
Source§impl Clone for TransportTerminal
impl Clone for TransportTerminal
Source§fn clone(&self) -> TransportTerminal
fn clone(&self) -> TransportTerminal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransportTerminal
Source§impl Debug for TransportTerminal
impl Debug for TransportTerminal
impl Eq for TransportTerminal
Source§impl PartialEq for TransportTerminal
impl PartialEq for TransportTerminal
impl StructuralPartialEq for TransportTerminal
Auto Trait Implementations§
impl Freeze for TransportTerminal
impl RefUnwindSafe for TransportTerminal
impl Send for TransportTerminal
impl Sync for TransportTerminal
impl Unpin for TransportTerminal
impl UnsafeUnpin for TransportTerminal
impl UnwindSafe for TransportTerminal
Blanket Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.