Struct nispor::NisporError
source · #[non_exhaustive]pub struct NisporError {
pub kind: ErrorKind,
pub msg: String,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: ErrorKind
§msg: String
Trait Implementations§
source§impl Clone for NisporError
impl Clone for NisporError
source§fn clone(&self) -> NisporError
fn clone(&self) -> NisporError
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 NisporError
impl Debug for NisporError
source§impl Display for NisporError
impl Display for NisporError
source§impl Error for NisporError
impl Error for NisporError
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 NisporError
impl From<AddrParseError> for NisporError
source§fn from(e: AddrParseError) -> Self
fn from(e: AddrParseError) -> Self
Converts to this type from the input type.
source§impl From<DecodeError> for NisporError
impl From<DecodeError> for NisporError
source§fn from(e: DecodeError) -> Self
fn from(e: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for NisporError
impl From<Error> for NisporError
source§impl From<Error> for NisporError
impl From<Error> for NisporError
source§impl From<EthtoolError> for NisporError
impl From<EthtoolError> for NisporError
source§fn from(e: EthtoolError) -> Self
fn from(e: EthtoolError) -> Self
Converts to this type from the input type.
source§impl From<FromBytesWithNulError> for NisporError
impl From<FromBytesWithNulError> for NisporError
source§fn from(e: FromBytesWithNulError) -> Self
fn from(e: FromBytesWithNulError) -> Self
Converts to this type from the input type.
source§impl From<MptcpPathManagerError> for NisporError
impl From<MptcpPathManagerError> for NisporError
source§fn from(e: MptcpPathManagerError) -> Self
fn from(e: MptcpPathManagerError) -> Self
Converts to this type from the input type.
source§impl From<Utf8Error> for NisporError
impl From<Utf8Error> for NisporError
Auto Trait Implementations§
impl Freeze for NisporError
impl RefUnwindSafe for NisporError
impl Send for NisporError
impl Sync for NisporError
impl Unpin for NisporError
impl UnwindSafe for NisporError
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