pub struct TlsAlertSeverity(pub u8);
Expand description
TLS alert severity
Tuple Fields§
§0: u8
Implementations§
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 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 TlsAlertSeverity
impl Debug for TlsAlertSeverity
Source§impl Display for TlsAlertSeverity
impl Display 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
impl Copy for TlsAlertSeverity
impl Eq for TlsAlertSeverity
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 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