pub struct TlsMessageAlert {
pub severity: TlsAlertSeverity,
pub code: TlsAlertDescription,
}
Expand description
TLS alert message
Fields§
§severity: TlsAlertSeverity
Should match a TlsAlertSeverity value
code: TlsAlertDescription
Should match a TlsAlertDescription value
Trait Implementations§
Source§impl Clone for TlsMessageAlert
impl Clone for TlsMessageAlert
Source§fn clone(&self) -> TlsMessageAlert
fn clone(&self) -> TlsMessageAlert
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 TlsMessageAlert
impl Debug for TlsMessageAlert
Source§impl<'nom> Parse<&'nom [u8]> for TlsMessageAlert
impl<'nom> Parse<&'nom [u8]> for TlsMessageAlert
Source§impl PartialEq for TlsMessageAlert
impl PartialEq for TlsMessageAlert
impl StructuralPartialEq for TlsMessageAlert
Auto Trait Implementations§
impl Freeze for TlsMessageAlert
impl RefUnwindSafe for TlsMessageAlert
impl Send for TlsMessageAlert
impl Sync for TlsMessageAlert
impl Unpin for TlsMessageAlert
impl UnwindSafe for TlsMessageAlert
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