Struct libp2p_plaintext::Config
source · pub struct Config { /* private fields */ }
Expand description
Config
is an insecure connection handshake for testing purposes only.
Implementations§
Trait Implementations§
source§impl<C> InboundConnectionUpgrade<C> for Configwhere
C: AsyncRead + AsyncWrite + Send + Unpin + 'static,
impl<C> InboundConnectionUpgrade<C> for Configwhere C: AsyncRead + AsyncWrite + Send + Unpin + 'static,
§type Output = (PeerId, Output<C>)
type Output = (PeerId, Output<C>)
Output after the upgrade has been successfully negotiated and the handshake performed.
source§impl<C> OutboundConnectionUpgrade<C> for Configwhere
C: AsyncRead + AsyncWrite + Send + Unpin + 'static,
impl<C> OutboundConnectionUpgrade<C> for Configwhere C: AsyncRead + AsyncWrite + Send + Unpin + 'static,
§type Output = (PeerId, Output<C>)
type Output = (PeerId, Output<C>)
Output after the upgrade has been successfully negotiated and the handshake performed.
source§impl UpgradeInfo for Config
impl UpgradeInfo for Config
Auto Trait Implementations§
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