Struct libp2p_rs::core::pnet::PnetOutput[][src]

pub struct PnetOutput<S> where
    S: SplitEx
{ /* fields omitted */ }

The result of a handshake. This implements AsyncRead and AsyncWrite and can therefore be used as base for additional upgrades.

Trait Implementations

impl<S> ConnectionInfo for PnetOutput<S> where
    S: ConnectionInfo + SplitEx
[src]

impl<S> ReadEx for PnetOutput<S> where
    S: SplittableReadWrite
[src]

impl<S> SplitEx for PnetOutput<S> where
    S: SplittableReadWrite
[src]

type Reader = CryptReader<<S as SplitEx>::Reader>

read half

type Writer = CryptWriter<<S as SplitEx>::Writer>

write half

impl<S> WriteEx for PnetOutput<S> where
    S: SplittableReadWrite
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for PnetOutput<S> where
    <S as SplitEx>::Reader: RefUnwindSafe,
    <S as SplitEx>::Writer: RefUnwindSafe

impl<S> Send for PnetOutput<S>

impl<S> Sync for PnetOutput<S> where
    <S as SplitEx>::Reader: Sync,
    <S as SplitEx>::Writer: Sync

impl<S> Unpin for PnetOutput<S>

impl<S> UnwindSafe for PnetOutput<S> where
    <S as SplitEx>::Reader: UnwindSafe,
    <S as SplitEx>::Writer: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SplittableReadWrite for T where
    T: 'static + SplitEx + ReadEx + WriteEx + Unpin
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,