pub struct Rfc7250QuicServerConfig { /* private fields */ }
Expand description
Enhanced QUIC server config with RFC 7250 support
Implementations§
Source§impl Rfc7250QuicServerConfig
impl Rfc7250QuicServerConfig
Sourcepub fn new(
base_config: Arc<dyn QuicServerConfig>,
preferences: CertificateTypePreferences,
) -> Self
pub fn new( base_config: Arc<dyn QuicServerConfig>, preferences: CertificateTypePreferences, ) -> Self
Create a new RFC 7250 aware QUIC server config
Trait Implementations§
Source§impl ServerConfig for Rfc7250QuicServerConfig
impl ServerConfig for Rfc7250QuicServerConfig
Source§fn start_session(
self: Arc<Self>,
version: u32,
params: &TransportParameters,
) -> Box<dyn Session>
fn start_session( self: Arc<Self>, version: u32, params: &TransportParameters, ) -> Box<dyn Session>
Start a server session with this configuration Read more
Source§fn initial_keys(
&self,
version: u32,
dst_cid: &ConnectionId,
) -> Result<Keys, UnsupportedVersion>
fn initial_keys( &self, version: u32, dst_cid: &ConnectionId, ) -> Result<Keys, UnsupportedVersion>
Create the initial set of keys given the client’s initial destination ConnectionId
Auto Trait Implementations§
impl Freeze for Rfc7250QuicServerConfig
impl !RefUnwindSafe for Rfc7250QuicServerConfig
impl Send for Rfc7250QuicServerConfig
impl Sync for Rfc7250QuicServerConfig
impl Unpin for Rfc7250QuicServerConfig
impl !UnwindSafe for Rfc7250QuicServerConfig
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