[][src]Struct libp2p_core::muxing::SubstreamRef

pub struct SubstreamRef<P> where
    P: Deref,
    P::Target: StreamMuxer
{ /* fields omitted */ }

Stream returned by substream_from_ref.

Trait Implementations

impl<P> AsyncRead for SubstreamRef<P> where
    P: Deref,
    P::Target: StreamMuxer
[src]

impl<P> AsyncWrite for SubstreamRef<P> where
    P: Deref,
    P::Target: StreamMuxer
[src]

impl<P> Debug for SubstreamRef<P> where
    P: Deref,
    P::Target: StreamMuxer,
    <P::Target as StreamMuxer>::Substream: Debug
[src]

impl<P> Drop for SubstreamRef<P> where
    P: Deref,
    P::Target: StreamMuxer
[src]

impl<P> Unpin for SubstreamRef<P> where
    P: Deref,
    P::Target: StreamMuxer
[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for SubstreamRef<P> where
    P: RefUnwindSafe,
    <<P as Deref>::Target as StreamMuxer>::Substream: RefUnwindSafe

impl<P> Send for SubstreamRef<P> where
    P: Send,
    <<P as Deref>::Target as StreamMuxer>::Substream: Send

impl<P> Sync for SubstreamRef<P> where
    P: Sync,
    <<P as Deref>::Target as StreamMuxer>::Substream: Sync

impl<P> UnwindSafe for SubstreamRef<P> where
    P: UnwindSafe,
    <<P as Deref>::Target as StreamMuxer>::Substream: UnwindSafe

Blanket Implementations

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

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized
[src]

impl<W> AsyncWriteExt for W where
    W: AsyncWrite + ?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, 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>,