pub struct GeneralError(pub String);Expand description
Represents a more general error in the DEK library.
This error type is used for operational errors that don’t fit into more specific categories, such as:
- Configuration errors
- System-level issues
- Unexpected conditions
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for GeneralError
impl Debug for GeneralError
Source§impl Display for GeneralError
impl Display for GeneralError
impl Eq for GeneralError
Source§impl PartialEq for GeneralError
impl PartialEq for GeneralError
Source§fn eq(&self, other: &GeneralError) -> bool
fn eq(&self, other: &GeneralError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GeneralError
Auto Trait Implementations§
impl Freeze for GeneralError
impl RefUnwindSafe for GeneralError
impl Send for GeneralError
impl Sync for GeneralError
impl Unpin for GeneralError
impl UnsafeUnpin for GeneralError
impl UnwindSafe for GeneralError
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