pub enum BaseError {
Io,
Options(OptionsError),
InvalidSignature,
NoPublicKey,
NoPrivateKey,
NoPeerId,
ValidateError,
DecryptError,
NoDecryptionKey,
PublicKeyIdMismatch,
}
Variants§
Io
Options(OptionsError)
InvalidSignature
NoPublicKey
NoPrivateKey
NoPeerId
ValidateError
DecryptError
NoDecryptionKey
PublicKeyIdMismatch
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BaseError
impl<'de> Deserialize<'de> for BaseError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<OptionsError> for BaseError
impl From<OptionsError> for BaseError
Source§fn from(o: OptionsError) -> BaseError
fn from(o: OptionsError) -> BaseError
Converts to this type from the input type.
impl StructuralPartialEq for BaseError
Auto Trait Implementations§
impl Freeze for BaseError
impl RefUnwindSafe for BaseError
impl Send for BaseError
impl Sync for BaseError
impl Unpin for BaseError
impl UnwindSafe for BaseError
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