pub enum MonitoringStateError {
Interrupt,
InsufficientPermissions,
InternalError,
}Expand description
Represents the possible errors that can occur when the State is acquired via
MonitoringMonitor::state().
Variants§
Trait Implementations§
Source§impl Clone for MonitoringStateError
impl Clone for MonitoringStateError
Source§fn clone(&self) -> MonitoringStateError
fn clone(&self) -> MonitoringStateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MonitoringStateError
impl Debug for MonitoringStateError
Source§impl Display for MonitoringStateError
impl Display for MonitoringStateError
Source§impl Error for MonitoringStateError
impl Error for MonitoringStateError
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 PartialEq for MonitoringStateError
impl PartialEq for MonitoringStateError
Source§fn eq(&self, other: &MonitoringStateError) -> bool
fn eq(&self, other: &MonitoringStateError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MonitoringStateError
impl Eq for MonitoringStateError
impl StructuralPartialEq for MonitoringStateError
Auto Trait Implementations§
impl Freeze for MonitoringStateError
impl RefUnwindSafe for MonitoringStateError
impl Send for MonitoringStateError
impl Sync for MonitoringStateError
impl Unpin for MonitoringStateError
impl UnsafeUnpin for MonitoringStateError
impl UnwindSafe for MonitoringStateError
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