Struct tls_parser::tls::TlsCipherSuiteID [−][src]
pub struct TlsCipherSuiteID(pub u16);
Methods
impl TlsCipherSuiteID[src]
impl TlsCipherSuiteIDpub fn get_ciphersuite(&self) -> Option<&'static TlsCipherSuite>[src]
pub fn get_ciphersuite(&self) -> Option<&'static TlsCipherSuite>Methods from Deref<Target = u16>
Trait Implementations
impl Clone for TlsCipherSuiteID[src]
impl Clone for TlsCipherSuiteIDfn clone(&self) -> TlsCipherSuiteID[src]
fn clone(&self) -> TlsCipherSuiteIDReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for TlsCipherSuiteID[src]
impl Copy for TlsCipherSuiteIDimpl PartialEq for TlsCipherSuiteID[src]
impl PartialEq for TlsCipherSuiteIDfn eq(&self, other: &TlsCipherSuiteID) -> bool[src]
fn eq(&self, other: &TlsCipherSuiteID) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TlsCipherSuiteID) -> bool[src]
fn ne(&self, other: &TlsCipherSuiteID) -> boolThis method tests for !=.
impl Eq for TlsCipherSuiteID[src]
impl Eq for TlsCipherSuiteIDimpl From<TlsCipherSuiteID> for u16[src]
impl From<TlsCipherSuiteID> for u16fn from(c: TlsCipherSuiteID) -> u16[src]
fn from(c: TlsCipherSuiteID) -> u16Performs the conversion.
impl Deref for TlsCipherSuiteID[src]
impl Deref for TlsCipherSuiteIDtype Target = u16
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl AsRef<u16> for TlsCipherSuiteID[src]
impl AsRef<u16> for TlsCipherSuiteIDimpl Display for TlsCipherSuiteID[src]
impl Display for TlsCipherSuiteIDfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Debug for TlsCipherSuiteID[src]
impl Debug for TlsCipherSuiteIDfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl LowerHex for TlsCipherSuiteID[src]
impl LowerHex for TlsCipherSuiteIDAuto Trait Implementations
impl Send for TlsCipherSuiteID
impl Send for TlsCipherSuiteIDimpl Sync for TlsCipherSuiteID
impl Sync for TlsCipherSuiteID