Struct rustls::internal::msgs::handshake::ServerHelloPayload [−][src]
Fields
legacy_version: ProtocolVersionrandom: Randomsession_id: SessionIDcipher_suite: CipherSuitecompression_method: Compressionextensions: Vec<ServerExtension>Implementations
impl ServerHelloPayload[src]
pub fn get_key_share(&self) -> Option<&KeyShareEntry>[src]
pub fn get_psk_index(&self) -> Option<u16>[src]
pub fn get_ecpoints_extension(&self) -> Option<&ECPointFormatList>[src]
pub fn ems_support_acked(&self) -> bool[src]
pub fn get_sct_list(&self) -> Option<&SCTList>[src]
pub fn get_supported_versions(&self) -> Option<ProtocolVersion>[src]
Trait Implementations
impl Codec for ServerHelloPayload[src]
fn encode(&self, bytes: &mut Vec<u8>)[src]
fn read(r: &mut Reader<'_>) -> Option<ServerHelloPayload>[src]
fn get_encoding(&self) -> Vec<u8>[src]
fn read_bytes(bytes: &[u8]) -> Option<Self>[src]
impl Debug for ServerHelloPayload[src]
impl HasServerExtensions for ServerHelloPayload[src]
fn get_extensions(&self) -> &[ServerExtension][src]
fn has_duplicate_extension(&self) -> bool[src]
fn find_extension(&self, ext: ExtensionType) -> Option<&ServerExtension>[src]
fn get_alpn_protocol(&self) -> Option<&[u8]>[src]
fn get_quic_params_extension(&self) -> Option<Vec<u8>>[src]
fn early_data_extension_offered(&self) -> bool[src]
Auto Trait Implementations
impl RefUnwindSafe for ServerHelloPayload
impl Send for ServerHelloPayload
impl Sync for ServerHelloPayload
impl Unpin for ServerHelloPayload
impl UnwindSafe for ServerHelloPayload
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,