Enum netstack3_core::tcp::SetDeviceError
source · pub enum SetDeviceError {
Conflict,
Unroutable,
ZoneChange,
}
Expand description
Error returned when failing to set the bound device for a socket.
Variants§
Conflict
The socket would conflict with another socket.
Unroutable
The socket would become unroutable.
ZoneChange
The socket has an address with a different zone.
Trait Implementations§
source§impl Debug for SetDeviceError
impl Debug for SetDeviceError
source§impl<IpType: Ip> GenericOverIp<IpType> for SetDeviceError
impl<IpType: Ip> GenericOverIp<IpType> for SetDeviceError
§type Type = SetDeviceError
type Type = SetDeviceError
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.Auto Trait Implementations§
impl Freeze for SetDeviceError
impl RefUnwindSafe for SetDeviceError
impl Send for SetDeviceError
impl Sync for SetDeviceError
impl Unpin for SetDeviceError
impl UnwindSafe for SetDeviceError
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.