pub enum ShadowError {
}Expand description
Main error type for the Shadow Network
Variants§
Transport(String)
Steganography(String)
Crypto(String)
Dht(String)
NatTraversal(String)
Storage(String)
PeerNotFound(String)
InvalidPacket(String)
Network(String)
Configuration(String)
Io(Error)
Serialization(String)
Timeout
NotImplemented(String)
Internal(String)
Trait Implementations§
Source§impl Debug for ShadowError
impl Debug for ShadowError
Source§impl Display for ShadowError
impl Display for ShadowError
Source§impl Error for ShadowError
impl Error for ShadowError
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 ShadowError
impl From<Error> for ShadowError
Auto Trait Implementations§
impl Freeze for ShadowError
impl !RefUnwindSafe for ShadowError
impl Send for ShadowError
impl Sync for ShadowError
impl Unpin for ShadowError
impl UnsafeUnpin for ShadowError
impl !UnwindSafe for ShadowError
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