pub enum ExtensionError {
InsufficientLen,
InvalidSelectiveAck(SelectiveAckError),
}
Variants§
InsufficientLen
InvalidSelectiveAck(SelectiveAckError)
Trait Implementations§
Source§impl Clone for ExtensionError
impl Clone for ExtensionError
Source§fn clone(&self) -> ExtensionError
fn clone(&self) -> ExtensionError
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 ExtensionError
impl Debug for ExtensionError
Source§impl Display for ExtensionError
impl Display for ExtensionError
Source§impl From<ExtensionError> for PacketError
impl From<ExtensionError> for PacketError
Source§fn from(value: ExtensionError) -> Self
fn from(value: ExtensionError) -> Self
Converts to this type from the input type.
Source§impl From<ExtensionError> for PacketHeaderError
impl From<ExtensionError> for PacketHeaderError
Source§fn from(value: ExtensionError) -> Self
fn from(value: ExtensionError) -> Self
Converts to this type from the input type.
Source§impl From<SelectiveAckError> for ExtensionError
impl From<SelectiveAckError> for ExtensionError
Source§fn from(value: SelectiveAckError) -> Self
fn from(value: SelectiveAckError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExtensionError
impl RefUnwindSafe for ExtensionError
impl Send for ExtensionError
impl Sync for ExtensionError
impl Unpin for ExtensionError
impl UnwindSafe for ExtensionError
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