Enum s2n_quic_tls::error::ErrorSource
source · #[non_exhaustive]pub enum ErrorSource {
Library,
Bindings,
Application,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Debug for ErrorSource
impl Debug for ErrorSource
source§impl PartialEq for ErrorSource
impl PartialEq for ErrorSource
source§fn eq(&self, other: &ErrorSource) -> bool
fn eq(&self, other: &ErrorSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ErrorSource
Auto Trait Implementations§
impl Freeze for ErrorSource
impl RefUnwindSafe for ErrorSource
impl Send for ErrorSource
impl Sync for ErrorSource
impl Unpin for ErrorSource
impl UnwindSafe for ErrorSource
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