Struct libp2prs_secio::codec::secure_stream::SecureStream[][src]

pub struct SecureStream<R, W> { /* fields omitted */ }

Encrypted stream

Trait Implementations

impl<R, W> ReadEx for SecureStream<R, W> where
    R: ReadEx + 'static,
    W: WriteEx + 'static, 
[src]

impl<R, W> SplitEx for SecureStream<R, W> where
    R: ReadEx + Unpin + 'static,
    W: WriteEx + Unpin + 'static, 
[src]

type Reader = SecureStreamReader<R>

read half

type Writer = SecureStreamWriter<W>

write half

impl<R, W> WriteEx for SecureStream<R, W> where
    R: ReadEx + 'static,
    W: WriteEx + 'static, 
[src]

Auto Trait Implementations

impl<R, W> !RefUnwindSafe for SecureStream<R, W>

impl<R, W> Send for SecureStream<R, W> where
    R: Send,
    W: Send

impl<R, W> !Sync for SecureStream<R, W>

impl<R, W> Unpin for SecureStream<R, W> where
    R: Unpin,
    W: Unpin

impl<R, W> !UnwindSafe for SecureStream<R, W>

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