pub enum CyberError {
Std(StdError),
Fmt(Error),
FromUTF8Error(FromUtf8Error),
ProstProtobuf(DecodeError),
SerdeJSONWasm(String),
}
Variants§
Std(StdError)
Fmt(Error)
FromUTF8Error(FromUtf8Error)
ProstProtobuf(DecodeError)
SerdeJSONWasm(String)
Trait Implementations§
Source§impl Debug for CyberError
impl Debug for CyberError
Source§impl Display for CyberError
impl Display for CyberError
Source§impl Error for CyberError
impl Error for CyberError
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<DecodeError> for CyberError
impl From<DecodeError> for CyberError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CyberError
impl From<Error> for CyberError
Source§impl From<Error> for CyberError
impl From<Error> for CyberError
Source§impl From<FromUtf8Error> for CyberError
impl From<FromUtf8Error> for CyberError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<StdError> for CyberError
impl From<StdError> for CyberError
Source§impl PartialEq for CyberError
impl PartialEq for CyberError
impl StructuralPartialEq for CyberError
Auto Trait Implementations§
impl Freeze for CyberError
impl RefUnwindSafe for CyberError
impl Send for CyberError
impl Sync for CyberError
impl Unpin for CyberError
impl UnwindSafe for CyberError
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