pub enum ScallopError {
InitFailed(Error),
TransportError(Error),
NoiseError(Error),
ProtocolError(String),
}
Variants§
Trait Implementations§
Source§impl Debug for ScallopError
impl Debug for ScallopError
Source§impl Display for ScallopError
impl Display for ScallopError
Source§impl Error for ScallopError
impl Error for ScallopError
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 ScallopError
impl From<Error> for ScallopError
Auto Trait Implementations§
impl Freeze for ScallopError
impl !RefUnwindSafe for ScallopError
impl Send for ScallopError
impl Sync for ScallopError
impl Unpin for ScallopError
impl !UnwindSafe for ScallopError
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