Struct s2n_quic_rustls::client::Client
source · pub struct Client { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Endpoint for Client
impl Endpoint for Client
type Session = Session
fn new_server_session<Params: EncoderValue>( &mut self, _transport_parameters: &Params ) -> Self::Session
fn new_client_session<Params: EncoderValue>( &mut self, transport_parameters: &Params, server_name: ServerName ) -> Self::Session
source§fn max_tag_length(&self) -> usize
fn max_tag_length(&self) -> usize
The maximum length of a tag for any algorithm that may be negotiated
source§impl From<Arc<ClientConfig>> for Client
impl From<Arc<ClientConfig>> for Client
source§fn from(config: Arc<ClientConfig>) -> Self
fn from(config: Arc<ClientConfig>) -> Self
Converts to this type from the input type.
source§impl From<ClientConfig> for Client
impl From<ClientConfig> for Client
source§fn from(config: ClientConfig) -> Self
fn from(config: ClientConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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