pub struct NotEnabled(pub Backend);
Expand description
Error signaling that particular backend is not enabled.
Tuple Fields§
§0: Backend
Trait Implementations§
Source§impl Clone for NotEnabled
impl Clone for NotEnabled
Source§fn clone(&self) -> NotEnabled
fn clone(&self) -> NotEnabled
Returns a copy of the value. Read more
1.0.0 · 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 NotEnabled
impl Debug for NotEnabled
Source§impl Display for NotEnabled
impl Display for NotEnabled
Source§impl Error for NotEnabled
impl Error for NotEnabled
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 Hash for NotEnabled
impl Hash for NotEnabled
Source§impl Ord for NotEnabled
impl Ord for NotEnabled
Source§fn cmp(&self, other: &NotEnabled) -> Ordering
fn cmp(&self, other: &NotEnabled) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NotEnabled
impl PartialEq for NotEnabled
Source§impl PartialOrd for NotEnabled
impl PartialOrd for NotEnabled
impl Copy for NotEnabled
impl Eq for NotEnabled
impl StructuralPartialEq for NotEnabled
Auto Trait Implementations§
impl Freeze for NotEnabled
impl RefUnwindSafe for NotEnabled
impl Send for NotEnabled
impl Sync for NotEnabled
impl Unpin for NotEnabled
impl UnwindSafe for NotEnabled
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