pub struct TlsHeartbeatMessageType(pub u8);
Expand description
Heartbeat type, as defined in RFC6520 section 3
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
Source§impl Clone for TlsHeartbeatMessageType
impl Clone for TlsHeartbeatMessageType
Source§fn clone(&self) -> TlsHeartbeatMessageType
fn clone(&self) -> TlsHeartbeatMessageType
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 TlsHeartbeatMessageType
impl Debug for TlsHeartbeatMessageType
Source§impl Display for TlsHeartbeatMessageType
impl Display for TlsHeartbeatMessageType
Source§impl From<TlsHeartbeatMessageType> for u8
impl From<TlsHeartbeatMessageType> for u8
Source§fn from(v: TlsHeartbeatMessageType) -> u8
fn from(v: TlsHeartbeatMessageType) -> u8
Converts to this type from the input type.
Source§impl<'nom> Parse<&'nom [u8]> for TlsHeartbeatMessageType
impl<'nom> Parse<&'nom [u8]> for TlsHeartbeatMessageType
Source§impl PartialEq for TlsHeartbeatMessageType
impl PartialEq for TlsHeartbeatMessageType
impl Copy for TlsHeartbeatMessageType
impl Eq for TlsHeartbeatMessageType
impl StructuralPartialEq for TlsHeartbeatMessageType
Auto Trait Implementations§
impl Freeze for TlsHeartbeatMessageType
impl RefUnwindSafe for TlsHeartbeatMessageType
impl Send for TlsHeartbeatMessageType
impl Sync for TlsHeartbeatMessageType
impl Unpin for TlsHeartbeatMessageType
impl UnwindSafe for TlsHeartbeatMessageType
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