[−][src]Struct rustls::internal::msgs::handshake::HelloRetryRequest
Fields
legacy_version: ProtocolVersion
session_id: SessionID
cipher_suite: CipherSuite
extensions: Vec<HelloRetryExtension>
Methods
impl HelloRetryRequest
[src]
impl HelloRetryRequest
pub fn has_duplicate_extension(&self) -> bool | [src] |
Returns true if there is more than one extension of a given type.
pub fn has_unknown_extension(&self) -> bool | [src] |
pub fn get_requested_key_share_group(&self) -> Option<NamedGroup> | [src] |
pub fn get_cookie(&self) -> Option<&PayloadU16> | [src] |
pub fn get_supported_versions(&self) -> Option<ProtocolVersion> | [src] |
Trait Implementations
impl Codec for HelloRetryRequest
[src]
impl Codec for HelloRetryRequest
fn encode(&self, bytes: &mut Vec<u8>) | [src] |
fn read(r: &mut Reader) -> Option<HelloRetryRequest> | [src] |
fn get_encoding(&self) -> Vec<u8> | [src] |
Convenience function to get the results of encode()
.
fn read_bytes(bytes: &[u8]) -> Option<Self> | [src] |
Read one of these from the front of bytes
and return it. Read more
impl Debug for HelloRetryRequest
[src]
impl Debug for HelloRetryRequest
Auto Trait Implementations
impl Send for HelloRetryRequest
impl Send for HelloRetryRequest
impl Sync for HelloRetryRequest
impl Sync for HelloRetryRequest
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |