pub enum EslError {
InternalError(String),
AuthFailed,
ConnectionError(String),
ApiError(String),
CodeParseError(),
NoInput,
}
Expand description
Error type for Esl
Variants§
Trait Implementations§
Source§impl Error for EslError
impl Error for EslError
1.30.0 · 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<ParseIntError> for EslError
impl From<ParseIntError> for EslError
Source§fn from(error: ParseIntError) -> Self
fn from(error: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl Ord for EslError
impl Ord for EslError
Source§impl PartialOrd for EslError
impl PartialOrd for EslError
impl Eq for EslError
impl StructuralPartialEq for EslError
Auto Trait Implementations§
impl Freeze for EslError
impl RefUnwindSafe for EslError
impl Send for EslError
impl Sync for EslError
impl Unpin for EslError
impl UnwindSafe for EslError
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