Struct s2n_quic_rustls::server::Server
source · pub struct Server { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Endpoint for Server
impl Endpoint for Server
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, _sni: 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<ServerConfig>> for Server
impl From<Arc<ServerConfig>> for Server
source§fn from(config: Arc<ServerConfig>) -> Self
fn from(config: Arc<ServerConfig>) -> Self
Converts to this type from the input type.
source§impl From<ServerConfig> for Server
impl From<ServerConfig> for Server
source§fn from(config: ServerConfig) -> Self
fn from(config: ServerConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Server
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
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