pub struct Alert {
pub level: AlertLevel,
pub description: AlertDescription,
}
Expand description
TLS Alert.
See AlertLevel
and AlertDescription
.
Fields§
§level: AlertLevel
Alert level.
description: AlertDescription
Alert description.
Trait Implementations§
source§impl PartialEq for Alert
impl PartialEq for Alert
impl Copy for Alert
impl Eq for Alert
impl StructuralEq for Alert
impl StructuralPartialEq for Alert
Auto Trait Implementations§
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnwindSafe for Alert
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