pub enum SendDatagramErrorIncoming {
NotAvailable,
TooLarge,
ConnectionError(ConnectionErrorIncoming),
}Expand description
Types of errors when sending a datagram.
Variants§
NotAvailable
The peer is not accepting datagrams
This can be because the peer does not support it or disabled it or any other reason.
TooLarge
The datagram is too large to send
ConnectionError(ConnectionErrorIncoming)
Connection error
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SendDatagramErrorIncoming
impl !UnwindSafe for SendDatagramErrorIncoming
impl Freeze for SendDatagramErrorIncoming
impl Send for SendDatagramErrorIncoming
impl Sync for SendDatagramErrorIncoming
impl Unpin for SendDatagramErrorIncoming
impl UnsafeUnpin for SendDatagramErrorIncoming
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