Enum netstack3_core::ip::ResolveRouteError
source · pub enum ResolveRouteError {
NoSrcAddr,
Unreachable,
}
Expand description
An error occurred while resolving the route to a destination
Variants§
Trait Implementations§
source§impl Clone for ResolveRouteError
impl Clone for ResolveRouteError
source§fn clone(&self) -> ResolveRouteError
fn clone(&self) -> ResolveRouteError
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 ResolveRouteError
impl Debug for ResolveRouteError
source§impl Display for ResolveRouteError
impl Display for ResolveRouteError
source§impl Error for ResolveRouteError
impl Error for ResolveRouteError
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<ResolveRouteError> for IpSockCreationError
impl From<ResolveRouteError> for IpSockCreationError
source§fn from(source: ResolveRouteError) -> Self
fn from(source: ResolveRouteError) -> Self
Converts to this type from the input type.
source§impl From<ResolveRouteError> for IpSockSendError
impl From<ResolveRouteError> for IpSockSendError
source§fn from(source: ResolveRouteError) -> Self
fn from(source: ResolveRouteError) -> Self
Converts to this type from the input type.
source§impl<IpType: Ip> GenericOverIp<IpType> for ResolveRouteError
impl<IpType: Ip> GenericOverIp<IpType> for ResolveRouteError
§type Type = ResolveRouteError
type Type = ResolveRouteError
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.source§impl PartialEq for ResolveRouteError
impl PartialEq for ResolveRouteError
source§fn eq(&self, other: &ResolveRouteError) -> bool
fn eq(&self, other: &ResolveRouteError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ResolveRouteError
impl Eq for ResolveRouteError
impl StructuralPartialEq for ResolveRouteError
Auto Trait Implementations§
impl Freeze for ResolveRouteError
impl RefUnwindSafe for ResolveRouteError
impl Send for ResolveRouteError
impl Sync for ResolveRouteError
impl Unpin for ResolveRouteError
impl UnwindSafe for ResolveRouteError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
source§fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
Handle a timer firing.