pub struct AlertMsg<'r> { /* private fields */ }Implementations§
Source§impl<'r> AlertMsg<'r>
impl<'r> AlertMsg<'r>
Sourcepub fn level(&self) -> AlertLevel
pub fn level(&self) -> AlertLevel
Alert Level
Sourcepub fn description(&self) -> AlertDescription
pub fn description(&self) -> AlertDescription
Alert Description
Sourcepub fn client_parse(bytes: &'r [u8]) -> Result<(Self, &'r [u8]), RecordError>
pub fn client_parse(bytes: &'r [u8]) -> Result<(Self, &'r [u8]), RecordError>
Parse Client Record
Trait Implementations§
impl<'r> StructuralPartialEq for AlertMsg<'r>
Auto Trait Implementations§
impl<'r> Freeze for AlertMsg<'r>
impl<'r> RefUnwindSafe for AlertMsg<'r>
impl<'r> Send for AlertMsg<'r>
impl<'r> Sync for AlertMsg<'r>
impl<'r> Unpin for AlertMsg<'r>
impl<'r> UnwindSafe for AlertMsg<'r>
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