pub enum PerfCounterError {
IO(Error),
Unknown(String),
}
Expand description
Possible Errors when using a valid performance counter
Variants§
Trait Implementations§
Source§impl Debug for PerfCounterError
impl Debug for PerfCounterError
Source§impl Display for PerfCounterError
impl Display for PerfCounterError
Source§impl Error for PerfCounterError
impl Error for PerfCounterError
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 PerfCounterError
impl !RefUnwindSafe for PerfCounterError
impl Send for PerfCounterError
impl Sync for PerfCounterError
impl Unpin for PerfCounterError
impl !UnwindSafe for PerfCounterError
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