Struct libp2p_tls::Config
source · pub struct Config { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<C> InboundConnectionUpgrade<C> for Config
impl<C> InboundConnectionUpgrade<C> for Config
§type Output = (PeerId, TlsStream<C>)
type Output = (PeerId, TlsStream<C>)
Output after the upgrade has been successfully negotiated and the handshake performed.
§type Error = UpgradeError
type Error = UpgradeError
Possible error during the handshake.
source§impl<C> OutboundConnectionUpgrade<C> for Config
impl<C> OutboundConnectionUpgrade<C> for Config
§type Output = (PeerId, TlsStream<C>)
type Output = (PeerId, TlsStream<C>)
Output after the upgrade has been successfully negotiated and the handshake performed.
§type Error = UpgradeError
type Error = UpgradeError
Possible error during the handshake.
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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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