pub enum SibylError {
StdIOError(Error),
StdStrUtf8Error(Utf8Error),
StdStringFromUtf8Error(FromUtf8Error),
StdParseIntError(ParseIntError),
SerdeJsonError(Error),
SystemTimeError(SystemTimeError),
Base64DecodeError(DecodeError),
HexFromHexError(FromHexError),
PemError(PemError),
SignatureError(Error),
Error(&'static str),
NetworkError {
code: u16,
data: Value,
},
}Variants§
StdIOError(Error)
StdStrUtf8Error(Utf8Error)
StdStringFromUtf8Error(FromUtf8Error)
StdParseIntError(ParseIntError)
SerdeJsonError(Error)
SystemTimeError(SystemTimeError)
Base64DecodeError(DecodeError)
HexFromHexError(FromHexError)
PemError(PemError)
SignatureError(Error)
Error(&'static str)
NetworkError
Implementations§
Source§impl SibylError
impl SibylError
Trait Implementations§
Source§impl Debug for SibylError
impl Debug for SibylError
Source§impl Display for SibylError
impl Display for SibylError
Source§impl Error for SibylError
impl Error for SibylError
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<&'static str> for SibylError
impl From<&'static str> for SibylError
Source§fn from(err: &'static str) -> SibylError
fn from(err: &'static str) -> SibylError
Converts to this type from the input type.
Source§impl From<DecodeError> for SibylError
impl From<DecodeError> for SibylError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for SibylError
impl From<Error> for SibylError
Source§impl From<Error> for SibylError
impl From<Error> for SibylError
Source§impl From<Error> for SibylError
impl From<Error> for SibylError
Source§impl From<FromHexError> for SibylError
impl From<FromHexError> for SibylError
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for SibylError
impl From<FromUtf8Error> for SibylError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for SibylError
impl From<ParseIntError> for SibylError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<PemError> for SibylError
impl From<PemError> for SibylError
Source§impl From<SystemTimeError> for SibylError
impl From<SystemTimeError> for SibylError
Source§fn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SibylError
impl !RefUnwindSafe for SibylError
impl Send for SibylError
impl Sync for SibylError
impl Unpin for SibylError
impl !UnwindSafe for SibylError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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