pub enum UptimeError {
IoErr(Error),
TargetIsDir,
TargetIsFifo,
}Variants§
Trait Implementations§
Source§impl Debug for UptimeError
impl Debug for UptimeError
Source§impl Display for UptimeError
impl Display for UptimeError
Source§impl Error for UptimeError
impl Error for UptimeError
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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for UptimeError
impl From<Error> for UptimeError
Auto Trait Implementations§
impl Freeze for UptimeError
impl !RefUnwindSafe for UptimeError
impl Send for UptimeError
impl Sync for UptimeError
impl Unpin for UptimeError
impl !UnwindSafe for UptimeError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more