Enum s2n_quic_core::datagram::default::DatagramError
source · #[non_exhaustive]pub enum DatagramError {
QueueAtCapacity,
ExceedsPeerTransportLimits,
ConnectionError {
error: Error,
},
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Debug for DatagramError
impl Debug for DatagramError
source§impl Display for DatagramError
impl Display for DatagramError
source§impl PartialEq for DatagramError
impl PartialEq for DatagramError
source§fn eq(&self, other: &DatagramError) -> bool
fn eq(&self, other: &DatagramError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatagramError
Auto Trait Implementations§
impl Freeze for DatagramError
impl RefUnwindSafe for DatagramError
impl Send for DatagramError
impl Sync for DatagramError
impl Unpin for DatagramError
impl UnwindSafe for DatagramError
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