pub struct TlsAlertSeverity(pub u8);Expand description
TLS alert severity
Tuple Fields§
§0: u8Implementations§
Source§impl TlsAlertSeverity
impl TlsAlertSeverity
pub const Warning: TlsAlertSeverity
pub const Fatal: TlsAlertSeverity
Trait Implementations§
Source§impl Clone for TlsAlertSeverity
impl Clone for TlsAlertSeverity
Source§fn clone(&self) -> TlsAlertSeverity
fn clone(&self) -> TlsAlertSeverity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TlsAlertSeverity
Source§impl Debug for TlsAlertSeverity
impl Debug for TlsAlertSeverity
Source§impl Display for TlsAlertSeverity
impl Display for TlsAlertSeverity
impl Eq for TlsAlertSeverity
Source§impl<'nom> Parse<&'nom [u8]> for TlsAlertSeverity
impl<'nom> Parse<&'nom [u8]> for TlsAlertSeverity
Source§impl PartialEq for TlsAlertSeverity
impl PartialEq for TlsAlertSeverity
Source§fn eq(&self, other: &TlsAlertSeverity) -> bool
fn eq(&self, other: &TlsAlertSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TlsAlertSeverity
Auto Trait Implementations§
impl Freeze for TlsAlertSeverity
impl RefUnwindSafe for TlsAlertSeverity
impl Send for TlsAlertSeverity
impl Sync for TlsAlertSeverity
impl Unpin for TlsAlertSeverity
impl UnsafeUnpin for TlsAlertSeverity
impl UnwindSafe for TlsAlertSeverity
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