pub enum ReceiverError {
BufferFull,
MessageTooLarge,
ReassemblyError,
}Expand description
Error from receiver operations.
Variants§
BufferFull
Reorder buffer full.
MessageTooLarge
Message too large for reassembly buffer.
ReassemblyError
Reassembly error (e.g., continuation without first).
Trait Implementations§
Source§impl Clone for ReceiverError
impl Clone for ReceiverError
Source§fn clone(&self) -> ReceiverError
fn clone(&self) -> ReceiverError
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 ReceiverError
impl Debug for ReceiverError
Source§impl Display for ReceiverError
impl Display for ReceiverError
Source§impl Error for ReceiverError
impl Error for ReceiverError
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 From<ReceiverError> for SrsppError
impl From<ReceiverError> for SrsppError
Source§fn from(source: ReceiverError) -> Self
fn from(source: ReceiverError) -> Self
Converts to this type from the input type.
Source§impl<E> From<ReceiverError> for TransportError<E>
impl<E> From<ReceiverError> for TransportError<E>
Source§fn from(source: ReceiverError) -> Self
fn from(source: ReceiverError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReceiverError
impl PartialEq for ReceiverError
impl Copy for ReceiverError
impl Eq for ReceiverError
impl StructuralPartialEq for ReceiverError
Auto Trait Implementations§
impl Freeze for ReceiverError
impl RefUnwindSafe for ReceiverError
impl Send for ReceiverError
impl Sync for ReceiverError
impl Unpin for ReceiverError
impl UnsafeUnpin for ReceiverError
impl UnwindSafe for ReceiverError
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