Enum netstack3_core::socket::SendError
source · pub enum SendError<SE> {
NotConnected,
NotWriteable,
IpSock(IpSockSendError),
SerializeError(SE),
}
Expand description
Error encountered when sending a datagram on a socket.
Variants§
NotConnected
The socket is not connected,
NotWriteable
The socket is not writeable.
IpSock(IpSockSendError)
There was a problem sending the IP packet.
SerializeError(SE)
There was a problem when serializing the packet.
Trait Implementations§
Auto Trait Implementations§
impl<SE> Freeze for SendError<SE>where
SE: Freeze,
impl<SE> RefUnwindSafe for SendError<SE>where
SE: RefUnwindSafe,
impl<SE> Send for SendError<SE>where
SE: Send,
impl<SE> Sync for SendError<SE>where
SE: Sync,
impl<SE> Unpin for SendError<SE>where
SE: Unpin,
impl<SE> UnwindSafe for SendError<SE>where
SE: UnwindSafe,
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.