[][src]Struct libp2p_plaintext::PlainTextMiddleware

pub struct PlainTextMiddleware<S> { /* fields omitted */ }

Trait Implementations

impl<S> Stream for PlainTextMiddleware<S> where
    S: AsyncRead + AsyncWrite
[src]

type Item = BytesMut

The type of item this stream will yield on success.

type Error = Error

The type of error this stream may generate.

impl<S> Sink for PlainTextMiddleware<S> where
    S: AsyncRead + AsyncWrite
[src]

type SinkItem = BytesMut

The type of value that the sink accepts.

type SinkError = Error

The type of value produced by the sink when an error occurs.

Auto Trait Implementations

impl<S> Send for PlainTextMiddleware<S> where
    S: Send

impl<S> Sync for PlainTextMiddleware<S> where
    S: Sync

impl<S> Unpin for PlainTextMiddleware<S> where
    S: Unpin

impl<S> UnwindSafe for PlainTextMiddleware<S> where
    S: UnwindSafe

impl<S> RefUnwindSafe for PlainTextMiddleware<S> where
    S: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for T[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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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