pub enum CardinalError {
InternalError(CardinalInternalError),
ProxyError(CardinalProxyError),
InvalidConfig(ConfigError),
IoError(Error),
Other(String),
}
Variants§
InternalError(CardinalInternalError)
ProxyError(CardinalProxyError)
InvalidConfig(ConfigError)
IoError(Error)
Other(String)
Trait Implementations§
Source§impl Debug for CardinalError
impl Debug for CardinalError
Source§impl Display for CardinalError
impl Display for CardinalError
Source§impl Error for CardinalError
impl Error for CardinalError
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<CardinalInternalError> for CardinalError
impl From<CardinalInternalError> for CardinalError
Source§fn from(source: CardinalInternalError) -> Self
fn from(source: CardinalInternalError) -> Self
Converts to this type from the input type.
Source§impl From<CardinalProxyError> for CardinalError
impl From<CardinalProxyError> for CardinalError
Source§fn from(source: CardinalProxyError) -> Self
fn from(source: CardinalProxyError) -> Self
Converts to this type from the input type.
Source§impl From<ConfigError> for CardinalError
impl From<ConfigError> for CardinalError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CardinalError
impl !RefUnwindSafe for CardinalError
impl Send for CardinalError
impl Sync for CardinalError
impl Unpin for CardinalError
impl !UnwindSafe for CardinalError
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