pub struct Config {}Implementations§
Trait Implementations§
Source§impl UpgradeInfo for Config
impl UpgradeInfo for Config
Source§impl<T> Upgrader<T> for Config
impl<T> Upgrader<T> for Config
Source§type Output = Mplex<T>
type Output = Mplex<T>
Output after the upgrade has been successfully negotiated and the handshake performed.
Source§fn upgrade_inbound<'async_trait>(
self,
socket: T,
_info: <Self as UpgradeInfo>::Info,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
fn upgrade_inbound<'async_trait>(
self,
socket: T,
_info: <Self as UpgradeInfo>::Info,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
After we have determined that the remote supports one of the protocols we support, this
method is called to start the handshake. Read more
Source§fn upgrade_outbound<'async_trait>(
self,
socket: T,
_info: <Self as UpgradeInfo>::Info,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
fn upgrade_outbound<'async_trait>(
self,
socket: T,
_info: <Self as UpgradeInfo>::Info,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
After we have determined that the remote supports one of the protocols we support, this
method is called to start the handshake. Read more
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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