pub struct PlainTextConfig { /* private fields */ }Expand description
Config for PlainText
Implementations§
Source§impl PlainTextConfig
impl PlainTextConfig
Trait Implementations§
Source§impl Clone for PlainTextConfig
impl Clone for PlainTextConfig
Source§fn clone(&self) -> PlainTextConfig
fn clone(&self) -> PlainTextConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl UpgradeInfo for PlainTextConfig
impl UpgradeInfo for PlainTextConfig
Source§impl<T> Upgrader<T> for PlainTextConfig
impl<T> Upgrader<T> for PlainTextConfig
Source§type Output = PlainTextOutput<T>
type Output = PlainTextOutput<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 PlainTextConfig
impl RefUnwindSafe for PlainTextConfig
impl Send for PlainTextConfig
impl Sync for PlainTextConfig
impl Unpin for PlainTextConfig
impl UnwindSafe for PlainTextConfig
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