pub enum SendQueueError {
PacketTooLarge,
ParseError,
FragmentError(FragmentQueueError),
SendError,
}
Variants§
PacketTooLarge
The packet is too large to be sent.
ParseError
Parsing Error
FragmentError(FragmentQueueError)
Fragmentation error
SendError
Send queue error
Trait Implementations§
Source§impl Clone for SendQueueError
impl Clone for SendQueueError
Source§fn clone(&self) -> SendQueueError
fn clone(&self) -> SendQueueError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SendQueueError
impl Debug for SendQueueError
Source§impl Display for SendQueueError
impl Display for SendQueueError
Source§impl Error for SendQueueError
impl Error for SendQueueError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 Hash for SendQueueError
impl Hash for SendQueueError
Source§impl Ord for SendQueueError
impl Ord for SendQueueError
Source§fn cmp(&self, other: &SendQueueError) -> Ordering
fn cmp(&self, other: &SendQueueError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SendQueueError
impl PartialEq for SendQueueError
Source§impl PartialOrd for SendQueueError
impl PartialOrd for SendQueueError
impl Copy for SendQueueError
impl Eq for SendQueueError
impl StructuralPartialEq for SendQueueError
Auto Trait Implementations§
impl Freeze for SendQueueError
impl RefUnwindSafe for SendQueueError
impl Send for SendQueueError
impl Sync for SendQueueError
impl Unpin for SendQueueError
impl UnwindSafe for SendQueueError
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