pub enum PassiveError {
ConnectionFailed(String),
Io(Error),
Serialization(String),
Protocol(String),
HashChainError(IntegrityError),
GenesisRootMismatch,
}Expand description
Errors from passive receiver
Variants§
ConnectionFailed(String)
Io(Error)
Serialization(String)
Protocol(String)
HashChainError(IntegrityError)
GenesisRootMismatch
Trait Implementations§
Source§impl Debug for PassiveError
impl Debug for PassiveError
Source§impl Display for PassiveError
impl Display for PassiveError
Source§impl Error for PassiveError
impl Error for PassiveError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for PassiveError
impl From<Error> for PassiveError
Source§impl From<IntegrityError> for PassiveError
impl From<IntegrityError> for PassiveError
Source§fn from(source: IntegrityError) -> Self
fn from(source: IntegrityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PassiveError
impl !RefUnwindSafe for PassiveError
impl Send for PassiveError
impl Sync for PassiveError
impl Unpin for PassiveError
impl !UnwindSafe for PassiveError
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