pub enum ObsLogError {
Io(String),
Serialization(String),
}Variants§
Trait Implementations§
Source§impl Debug for ObsLogError
impl Debug for ObsLogError
Source§impl Display for ObsLogError
impl Display for ObsLogError
Source§impl Error for ObsLogError
impl Error for ObsLogError
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()
Auto Trait Implementations§
impl Freeze for ObsLogError
impl RefUnwindSafe for ObsLogError
impl Send for ObsLogError
impl Sync for ObsLogError
impl Unpin for ObsLogError
impl UnsafeUnpin for ObsLogError
impl UnwindSafe for ObsLogError
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