Enum network_clique::incoming::IncomingError
source · enum IncomingError<PK: PublicKey> {
ProtocolNegotiationError(ProtocolNegotiationError),
ProtocolError(ProtocolError<PK>),
}
Variants§
ProtocolNegotiationError(ProtocolNegotiationError)
ProtocolError(ProtocolError<PK>)
Trait Implementations§
source§impl<PK: PublicKey> Display for IncomingError<PK>
impl<PK: PublicKey> Display for IncomingError<PK>
source§impl<PK: PublicKey> From<ProtocolError<PK>> for IncomingError<PK>
impl<PK: PublicKey> From<ProtocolError<PK>> for IncomingError<PK>
source§fn from(e: ProtocolError<PK>) -> Self
fn from(e: ProtocolError<PK>) -> Self
Converts to this type from the input type.
source§impl<PK: PublicKey> From<ProtocolNegotiationError> for IncomingError<PK>
impl<PK: PublicKey> From<ProtocolNegotiationError> for IncomingError<PK>
source§fn from(e: ProtocolNegotiationError) -> Self
fn from(e: ProtocolNegotiationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<PK> !RefUnwindSafe for IncomingError<PK>
impl<PK> Send for IncomingError<PK>
impl<PK> Sync for IncomingError<PK>
impl<PK> Unpin for IncomingError<PK>where
PK: Unpin,
impl<PK> !UnwindSafe for IncomingError<PK>
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