Struct s2n_quic_rustls::server::Server
source · pub struct Server { /* private fields */ }
Implementations
Trait Implementations
sourceimpl 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
sourcefn max_tag_length(&self) -> usize
fn max_tag_length(&self) -> usize
The maximum length of a tag for any algorithm that may be negotiated
sourceimpl From<ServerConfig> for Server
impl From<ServerConfig> for Server
sourcefn from(config: ServerConfig) -> Self
fn from(config: ServerConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more