Enum mocklogger::logger::LogErr
source · pub enum LogErr {
ZBus(Error),
KeyError(String),
NotFound(String),
Datastore(String),
Buffer(String),
IOError(String),
UnitError(String),
DataTypeError(String),
}Variants§
ZBus(Error)
KeyError(String)
NotFound(String)
Datastore(String)
Buffer(String)
IOError(String)
UnitError(String)
DataTypeError(String)
Trait Implementations§
source§impl DBusError for LogErr
impl DBusError for LogErr
fn name(&self) -> ErrorName<'_>
fn description(&self) -> Option<&str>
source§fn create_reply(&self, call: &MessageHeader<'_>) -> Result<Message>
fn create_reply(&self, call: &MessageHeader<'_>) -> Result<Message>
Generate an error reply message for the given method call.
source§impl Error for LogErr
impl Error for LogErr
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()
Auto Trait Implementations§
impl !RefUnwindSafe for LogErr
impl Send for LogErr
impl Sync for LogErr
impl Unpin for LogErr
impl !UnwindSafe for LogErr
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