Enum h3_quinn::SendDatagramError
source · pub enum SendDatagramError {
UnsupportedByPeer,
Disabled,
TooLarge,
ConnectionLost(Box<dyn Error>),
}
Expand description
Types of errors when sending a datagram.
Variants§
UnsupportedByPeer
Datagrams are not supported by the peer
Disabled
Datagrams are locally disabled
TooLarge
The datagram was too large to be sent.
ConnectionLost(Box<dyn Error>)
Network error
Trait Implementations§
source§impl Debug for SendDatagramError
impl Debug for SendDatagramError
source§impl Display for SendDatagramError
impl Display for SendDatagramError
source§impl Error for SendDatagramError
impl Error for SendDatagramError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl Error for SendDatagramError
impl Error for SendDatagramError
source§impl From<SendDatagramError> for SendDatagramError
impl From<SendDatagramError> for SendDatagramError
source§fn from(value: SendDatagramError) -> Self
fn from(value: SendDatagramError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SendDatagramError
impl !RefUnwindSafe for SendDatagramError
impl Send for SendDatagramError
impl Sync for SendDatagramError
impl Unpin for SendDatagramError
impl !UnwindSafe for SendDatagramError
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