pub enum UserLibError {
NotFound,
ParseError,
FilesChanged,
FilesRequired,
Message(MyMessage),
}
Variants§
Trait Implementations§
Source§impl Debug for UserLibError
impl Debug for UserLibError
Source§impl Display for UserLibError
impl Display for UserLibError
Source§impl Error for UserLibError
impl Error for UserLibError
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<&str> for UserLibError
impl From<&str> for UserLibError
Source§impl From<Error> for UserLibError
impl From<Error> for UserLibError
Source§impl From<String> for UserLibError
impl From<String> for UserLibError
Source§impl PartialEq for UserLibError
impl PartialEq for UserLibError
impl StructuralPartialEq for UserLibError
Auto Trait Implementations§
impl Freeze for UserLibError
impl !RefUnwindSafe for UserLibError
impl Send for UserLibError
impl Sync for UserLibError
impl Unpin for UserLibError
impl !UnwindSafe for UserLibError
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