pub enum SendError {
NoRoute,
SocketNotBound,
PacketTooLarge,
}
Expand description
Error returned by UdpSocket::send_to
.
Variants§
NoRoute
No route to host.
SocketNotBound
Socket not bound to an outgoing port.
PacketTooLarge
There is not enough transmit buffer capacity to ever send this packet.
Trait Implementations§
impl Copy for SendError
impl Eq for SendError
impl StructuralPartialEq for SendError
Auto Trait Implementations§
impl Freeze for SendError
impl RefUnwindSafe for SendError
impl Send for SendError
impl Sync for SendError
impl Unpin for SendError
impl UnwindSafe for SendError
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