Enum base::periodic_logger::PeriodicLoggerError
source · pub enum PeriodicLoggerError {
ThreadAlreadyStarted,
WriteLockError(String),
ReadLockError(String),
CounterAlreadyExist(String),
CounterDoesNotExist(String),
WaitContextBuildError(Error),
WaitContextWaitError(Error),
TimerResetError(Error),
TimerNewError(Error),
}
Variants§
ThreadAlreadyStarted
WriteLockError(String)
ReadLockError(String)
CounterAlreadyExist(String)
CounterDoesNotExist(String)
WaitContextBuildError(Error)
WaitContextWaitError(Error)
TimerResetError(Error)
TimerNewError(Error)
Trait Implementations§
source§impl Debug for PeriodicLoggerError
impl Debug for PeriodicLoggerError
source§impl Display for PeriodicLoggerError
impl Display for PeriodicLoggerError
source§impl Error for PeriodicLoggerError
impl Error for PeriodicLoggerError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PeriodicLoggerError
impl PartialEq for PeriodicLoggerError
source§fn eq(&self, other: &PeriodicLoggerError) -> bool
fn eq(&self, other: &PeriodicLoggerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PeriodicLoggerError
Auto Trait Implementations§
impl RefUnwindSafe for PeriodicLoggerError
impl Send for PeriodicLoggerError
impl Sync for PeriodicLoggerError
impl Unpin for PeriodicLoggerError
impl UnwindSafe for PeriodicLoggerError
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