Struct netstack3_core::error::NotFoundError
source · pub struct NotFoundError;
Expand description
Error when something unexpectedly doesn’t exist, such as trying to remove an element when the element is not present.
Trait Implementations§
source§impl Debug for NotFoundError
impl Debug for NotFoundError
source§impl Display for NotFoundError
impl Display for NotFoundError
source§impl Error for NotFoundError
impl Error for NotFoundError
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<NotFoundError> for NetstackError
impl From<NotFoundError> for NetstackError
source§fn from(_: NotFoundError) -> NetstackError
fn from(_: NotFoundError) -> NetstackError
Converts to this type from the input type.
source§impl From<NotFoundError> for SetIpAddressPropertiesError
impl From<NotFoundError> for SetIpAddressPropertiesError
source§fn from(source: NotFoundError) -> Self
fn from(source: NotFoundError) -> Self
Converts to this type from the input type.
source§impl PartialEq<NotFoundError> for NotFoundError
impl PartialEq<NotFoundError> for NotFoundError
source§fn eq(&self, other: &NotFoundError) -> bool
fn eq(&self, other: &NotFoundError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NotFoundError
impl StructuralEq for NotFoundError
impl StructuralPartialEq for NotFoundError
Auto Trait Implementations§
impl RefUnwindSafe for NotFoundError
impl Send for NotFoundError
impl Sync for NotFoundError
impl Unpin for NotFoundError
impl UnwindSafe for NotFoundError
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