Struct nmstate::NmstateError
source · #[non_exhaustive]pub struct NmstateError { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for NmstateError
impl Clone for NmstateError
source§fn clone(&self) -> NmstateError
fn clone(&self) -> NmstateError
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 NmstateError
impl Debug for NmstateError
source§impl Default for NmstateError
impl Default for NmstateError
source§fn default() -> NmstateError
fn default() -> NmstateError
Returns the “default value” for a type. Read more
source§impl Display for NmstateError
impl Display for NmstateError
source§impl Error for NmstateError
impl Error for NmstateError
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 From<AddrParseError> for NmstateError
impl From<AddrParseError> for NmstateError
source§fn from(e: AddrParseError) -> Self
fn from(e: AddrParseError) -> Self
Converts to this type from the input type.
source§impl From<AddrParseError> for NmstateError
impl From<AddrParseError> for NmstateError
source§fn from(e: AddrParseError) -> Self
fn from(e: AddrParseError) -> Self
Converts to this type from the input type.
source§impl From<Error> for NmstateError
impl From<Error> for NmstateError
source§impl PartialEq<NmstateError> for NmstateError
impl PartialEq<NmstateError> for NmstateError
source§fn eq(&self, other: &NmstateError) -> bool
fn eq(&self, other: &NmstateError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NmstateError
impl StructuralEq for NmstateError
impl StructuralPartialEq for NmstateError
Auto Trait Implementations§
impl RefUnwindSafe for NmstateError
impl Send for NmstateError
impl Sync for NmstateError
impl Unpin for NmstateError
impl UnwindSafe for NmstateError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.