[][src]Struct libp2prs_core::pnet::PnetOutput

pub struct PnetOutput<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 + SplitEx> ConnectionInfo for PnetOutput<S>[src]

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

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

type Reader = CryptReader<S::Reader>

read half

type Writer = CryptWriter<S::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
[src]

impl<S> Send for PnetOutput<S> where
    <S as SplitEx>::Reader: Send,
    <S as SplitEx>::Writer: Send
[src]

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

impl<S> Unpin for PnetOutput<S> where
    <S as SplitEx>::Reader: Unpin,
    <S as SplitEx>::Writer: Unpin
[src]

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

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> 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>,