pub enum Error {
Show 25 variants
Key(&'static str),
Rejected(String),
IO(Error),
Sign(Unspecified),
SystemTime(SystemTimeError),
Json(Error),
Ureq(Box<Error>),
Ipv4,
AcmeChallege,
Address(AddrParseError),
Token,
Base64Decode(DecodeError),
Utf8Decode(Utf8Error),
ParseInt(ParseIntError),
ParseExpiration(&'static str),
ParseDnsEntry(&'static str),
ParseMailboxEntry(String),
ParseMailForwardEntry(String),
EnvironmentVariable(String),
Var(VarError),
ApiTest,
NoIp,
ParseBoolean(ParseBoolError),
Strum(ParseError),
Serialization(Box<dyn Error>),
}
Expand description
All failable functions in this crate should use this Error
Variants§
Key(&'static str)
Rejected(String)
IO(Error)
Sign(Unspecified)
SystemTime(SystemTimeError)
Json(Error)
Ureq(Box<Error>)
Ipv4
AcmeChallege
Address(AddrParseError)
Token
Base64Decode(DecodeError)
Utf8Decode(Utf8Error)
ParseInt(ParseIntError)
ParseExpiration(&'static str)
ParseDnsEntry(&'static str)
ParseMailboxEntry(String)
ParseMailForwardEntry(String)
EnvironmentVariable(String)
Var(VarError)
ApiTest
NoIp
ParseBoolean(ParseBoolError)
Strum(ParseError)
Serialization(Box<dyn Error>)
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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<AddrParseError> for Error
impl From<AddrParseError> for Error
Source§fn from(source: AddrParseError) -> Error
fn from(source: AddrParseError) -> Error
Converts to this type from the input type.
Source§impl From<DecodeError> for Error
impl From<DecodeError> for Error
Source§fn from(source: DecodeError) -> Error
fn from(source: DecodeError) -> Error
Converts to this type from the input type.
Source§impl From<ParseBoolError> for Error
impl From<ParseBoolError> for Error
Source§fn from(source: ParseBoolError) -> Error
fn from(source: ParseBoolError) -> Error
Converts to this type from the input type.
Source§impl From<ParseError> for Error
impl From<ParseError> for Error
Source§fn from(source: ParseError) -> Error
fn from(source: ParseError) -> Error
Converts to this type from the input type.
Source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
Source§fn from(source: ParseIntError) -> Error
fn from(source: ParseIntError) -> Error
Converts to this type from the input type.
Source§impl From<SystemTimeError> for Error
impl From<SystemTimeError> for Error
Source§fn from(source: SystemTimeError) -> Error
fn from(source: SystemTimeError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl !Send for Error
impl !Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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