pub struct ConnectionFoundation<Foundation, TlsConfig> { /* private fields */ }Implementations§
Source§impl ConnectionFoundation<ClientFoundation, ClientConfig>
impl ConnectionFoundation<ClientFoundation, ClientConfig>
pub fn with_streams_concurrency_strategy<F>(
self,
strategy_factory: &F,
) -> ConnectionFoundation<ClientFoundation, ClientConfig>where
F: ProductStreamsConcurrencyController + ?Sized,
pub fn with_zero_rtt( self, enabled: bool, ) -> ConnectionFoundation<ClientFoundation, ClientConfig>
Source§impl ConnectionFoundation<ServerFoundation, ServerConfig>
impl ConnectionFoundation<ServerFoundation, ServerConfig>
pub fn with_streams_concurrency_strategy<F>(
self,
strategy_factory: &F,
) -> ConnectionFoundation<ServerFoundation, ServerConfig>where
F: ProductStreamsConcurrencyController + ?Sized,
pub fn with_zero_rtt( self, enabled: bool, ) -> ConnectionFoundation<ServerFoundation, ServerConfig>
Source§impl<Foundation, TlsConfig> ConnectionFoundation<Foundation, TlsConfig>
impl<Foundation, TlsConfig> ConnectionFoundation<Foundation, TlsConfig>
pub fn with_defer_idle_timeout( self, timeout: Duration, ) -> ConnectionFoundation<Foundation, TlsConfig>
Source§impl ConnectionFoundation<ClientFoundation, ClientConfig>
impl ConnectionFoundation<ClientFoundation, ClientConfig>
pub fn with_cids(self, origin_dcid: ConnectionId) -> PendingConnection
Source§impl ConnectionFoundation<ServerFoundation, ServerConfig>
impl ConnectionFoundation<ServerFoundation, ServerConfig>
pub fn with_cids(self, origin_dcid: ConnectionId) -> PendingConnection
Auto Trait Implementations§
impl<Foundation, TlsConfig> Freeze for ConnectionFoundation<Foundation, TlsConfig>
impl<Foundation, TlsConfig> !RefUnwindSafe for ConnectionFoundation<Foundation, TlsConfig>
impl<Foundation, TlsConfig> Send for ConnectionFoundation<Foundation, TlsConfig>
impl<Foundation, TlsConfig> Sync for ConnectionFoundation<Foundation, TlsConfig>
impl<Foundation, TlsConfig> Unpin for ConnectionFoundation<Foundation, TlsConfig>
impl<Foundation, TlsConfig> !UnwindSafe for ConnectionFoundation<Foundation, TlsConfig>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more