Struct s2n_quic_core::crypto::packet_protection::Error
source · pub struct Error {
pub reason: &'static str,
}
Expand description
Error type for errors during removal of packet protection
Fields§
§reason: &'static str
Implementations§
source§impl Error
impl Error
pub const DECODE_ERROR: Self = _
pub const DECRYPT_ERROR: Self = _
pub const INTERNAL_ERROR: Self = _
Trait Implementations§
source§impl From<DecoderError> for Error
impl From<DecoderError> for Error
source§fn from(decoder_error: DecoderError) -> Self
fn from(decoder_error: DecoderError) -> Self
Converts to this type from the input type.
source§impl From<Error> for ProcessingError
impl From<Error> for ProcessingError
source§impl Ord for Error
impl Ord for Error
source§impl PartialEq for Error
impl PartialEq for Error
source§impl PartialOrd for Error
impl PartialOrd for Error
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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