Enum s2n_quic_tls::enums::AlertBehavior
source · #[non_exhaustive]pub enum AlertBehavior {
FailOnWarnings,
IgnoreWarnings,
}
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 Clone for AlertBehavior
impl Clone for AlertBehavior
source§fn clone(&self) -> AlertBehavior
fn clone(&self) -> AlertBehavior
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 AlertBehavior
impl Debug for AlertBehavior
source§impl From<AlertBehavior> for u32
impl From<AlertBehavior> for u32
source§fn from(input: AlertBehavior) -> u32
fn from(input: AlertBehavior) -> u32
Converts to this type from the input type.
source§impl PartialEq for AlertBehavior
impl PartialEq for AlertBehavior
source§fn eq(&self, other: &AlertBehavior) -> bool
fn eq(&self, other: &AlertBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AlertBehavior
impl StructuralPartialEq for AlertBehavior
Auto Trait Implementations§
impl Freeze for AlertBehavior
impl RefUnwindSafe for AlertBehavior
impl Send for AlertBehavior
impl Sync for AlertBehavior
impl Unpin for AlertBehavior
impl UnwindSafe for AlertBehavior
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