Enum netstack3_core::tcp::ListenError
source · pub enum ListenError {
ListenerExists,
NotSupported,
}
Expand description
Errors for the listen operation.
Variants§
ListenerExists
There would be a conflict with another listening socket.
NotSupported
Cannot listen on such socket.
Trait Implementations§
source§impl Debug for ListenError
impl Debug for ListenError
source§impl<IpType: Ip> GenericOverIp<IpType> for ListenError
impl<IpType: Ip> GenericOverIp<IpType> for ListenError
§type Type = ListenError
type Type = ListenError
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.Auto Trait Implementations§
impl Freeze for ListenError
impl RefUnwindSafe for ListenError
impl Send for ListenError
impl Sync for ListenError
impl Unpin for ListenError
impl UnwindSafe for ListenError
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.