Enum netstack3_core::tcp::SetReuseAddrError
source · pub enum SetReuseAddrError {
AddrInUse,
NotSupported,
}
Expand description
Error returned when attempting to set the ReuseAddress option.
Variants§
AddrInUse
Cannot share the address because it is already used.
NotSupported
Cannot set ReuseAddr on a connected socket.
Trait Implementations§
source§impl Debug for SetReuseAddrError
impl Debug for SetReuseAddrError
source§impl<IpType: Ip> GenericOverIp<IpType> for SetReuseAddrError
impl<IpType: Ip> GenericOverIp<IpType> for SetReuseAddrError
§type Type = SetReuseAddrError
type Type = SetReuseAddrError
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.Auto Trait Implementations§
impl Freeze for SetReuseAddrError
impl RefUnwindSafe for SetReuseAddrError
impl Send for SetReuseAddrError
impl Sync for SetReuseAddrError
impl Unpin for SetReuseAddrError
impl UnwindSafe for SetReuseAddrError
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.