Enum network_clique::io::ReceiveError
source · pub enum ReceiveError {
Error(Error),
DataCorrupted,
}
Expand description
An error when receiving data.
Variants§
Trait Implementations§
source§impl Debug for ReceiveError
impl Debug for ReceiveError
source§impl Display for ReceiveError
impl Display for ReceiveError
source§impl From<Error> for ReceiveError
impl From<Error> for ReceiveError
source§impl<PK: PublicKey> From<ReceiveError> for HandshakeError<PK>
impl<PK: PublicKey> From<ReceiveError> for HandshakeError<PK>
source§fn from(e: ReceiveError) -> Self
fn from(e: ReceiveError) -> Self
Converts to this type from the input type.
source§impl<PK: PublicKey> From<ReceiveError> for ProtocolError<PK>
impl<PK: PublicKey> From<ReceiveError> for ProtocolError<PK>
source§fn from(e: ReceiveError) -> Self
fn from(e: ReceiveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ReceiveError
impl Send for ReceiveError
impl Sync for ReceiveError
impl Unpin for ReceiveError
impl !UnwindSafe for ReceiveError
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