#[repr(u8)]pub enum AlertDescription {
CloseNotify = 0,
UnexpectedMessage = 10,
IllegalParameter = 47,
DecodeError = 50,
DecryptionError = 51,
MissingExtension = 109,
UnsupportedExtension = 110,
Unknown = 111,
}Variants§
CloseNotify = 0
UnexpectedMessage = 10
IllegalParameter = 47
DecodeError = 50
DecryptionError = 51
MissingExtension = 109
UnsupportedExtension = 110
Unknown = 111
Implementations§
Source§impl AlertDescription
impl AlertDescription
pub fn alert_level(&self) -> AlertLevel
Trait Implementations§
Source§impl Clone for AlertDescription
impl Clone for AlertDescription
Source§fn clone(&self) -> AlertDescription
fn clone(&self) -> AlertDescription
Returns a duplicate 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 AlertDescription
impl Debug for AlertDescription
Source§impl From<u8> for AlertDescription
impl From<u8> for AlertDescription
impl Copy for AlertDescription
Auto Trait Implementations§
impl Freeze for AlertDescription
impl RefUnwindSafe for AlertDescription
impl Send for AlertDescription
impl Sync for AlertDescription
impl Unpin for AlertDescription
impl UnwindSafe for AlertDescription
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