pub enum PortalError {
Show 19 variants
NoneError,
BadFileName,
BadDirectory,
Cancelled,
Incomplete,
CryptoError,
Mutability,
BufferTooSmall,
BadRegistration,
BadState,
NoPeer,
BadMsg,
PeerKeyMismatch,
EncryptError,
DecryptError,
IOError,
Interrupted,
WouldBlock,
SerializeError,
}
Variants§
NoneError
BadFileName
BadDirectory
Cancelled
Incomplete
CryptoError
Mutability
BufferTooSmall
BadRegistration
BadState
NoPeer
BadMsg
PeerKeyMismatch
EncryptError
DecryptError
IOError
Interrupted
WouldBlock
SerializeError
Trait Implementations§
Source§impl Debug for PortalError
impl Debug for PortalError
Source§impl Display for PortalError
impl Display for PortalError
Source§impl Error for PortalError
impl Error for PortalError
1.30.0 · 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 PartialEq for PortalError
impl PartialEq for PortalError
impl Eq for PortalError
impl StructuralPartialEq for PortalError
Auto Trait Implementations§
impl Freeze for PortalError
impl RefUnwindSafe for PortalError
impl Send for PortalError
impl Sync for PortalError
impl Unpin for PortalError
impl UnwindSafe for PortalError
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