pub enum DltError {
InvalidString(String),
ContextRegistrationFailed(String),
ApplicationRegistrationFailed(String),
LogLevelListenerRegistrationFailed(String),
InvalidMemory,
BadLock,
InvalidInput,
}Expand description
Internal error types for Rust-side operations (not from libdlt)
Variants§
InvalidString(String)
ContextRegistrationFailed(String)
ApplicationRegistrationFailed(String)
LogLevelListenerRegistrationFailed(String)
InvalidMemory
BadLock
InvalidInput
Trait Implementations§
Source§impl Error for DltError
impl Error for DltError
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()
impl Eq for DltError
impl StructuralPartialEq for DltError
Auto Trait Implementations§
impl Freeze for DltError
impl RefUnwindSafe for DltError
impl Send for DltError
impl Sync for DltError
impl Unpin for DltError
impl UnwindSafe for DltError
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