Enum s2n_quic_core::buffer::ReceiveBufferError
source · pub enum ReceiveBufferError {
OutOfRange,
InvalidFin,
}Expand description
Enumerates error that can occur while inserting data into the Receive Buffer
Variants§
OutOfRange
An invalid data range was provided
InvalidFin
The provided final size was invalid for the buffer’s state
Trait Implementations§
source§impl Clone for ReceiveBufferError
impl Clone for ReceiveBufferError
source§fn clone(&self) -> ReceiveBufferError
fn clone(&self) -> ReceiveBufferError
Returns a copy 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 ReceiveBufferError
impl Debug for ReceiveBufferError
source§impl PartialEq for ReceiveBufferError
impl PartialEq for ReceiveBufferError
source§fn eq(&self, other: &ReceiveBufferError) -> bool
fn eq(&self, other: &ReceiveBufferError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ReceiveBufferError
impl Eq for ReceiveBufferError
impl StructuralEq for ReceiveBufferError
impl StructuralPartialEq for ReceiveBufferError
Auto Trait Implementations§
impl RefUnwindSafe for ReceiveBufferError
impl Send for ReceiveBufferError
impl Sync for ReceiveBufferError
impl Unpin for ReceiveBufferError
impl UnwindSafe for ReceiveBufferError
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