pub enum EnigmaNodeTypesError {
InvalidUsername,
InvalidHex,
InvalidBase64,
InvalidField(&'static str),
JsonError,
Utf8Error,
}Variants§
Trait Implementations§
Source§impl Debug for EnigmaNodeTypesError
impl Debug for EnigmaNodeTypesError
Source§impl Display for EnigmaNodeTypesError
impl Display for EnigmaNodeTypesError
Source§impl Error for EnigmaNodeTypesError
impl Error for EnigmaNodeTypesError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DecodeError> for EnigmaNodeTypesError
impl From<DecodeError> for EnigmaNodeTypesError
Source§fn from(_: DecodeError) -> Self
fn from(_: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for EnigmaNodeTypesError
impl From<Error> for EnigmaNodeTypesError
Source§impl From<FromHexError> for EnigmaNodeTypesError
impl From<FromHexError> for EnigmaNodeTypesError
Source§fn from(_: FromHexError) -> Self
fn from(_: FromHexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EnigmaNodeTypesError
impl RefUnwindSafe for EnigmaNodeTypesError
impl Send for EnigmaNodeTypesError
impl Sync for EnigmaNodeTypesError
impl Unpin for EnigmaNodeTypesError
impl UnwindSafe for EnigmaNodeTypesError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more