[][src]Struct ssb_boxstream::BoxReader

pub struct BoxReader<R, B> { /* fields omitted */ }

Implementations

impl<R, B> BoxReader<R, B>[src]

pub fn with_buffer(
    inner: R,
    key: Key,
    nonce: Nonce,
    buffer: B
) -> BoxReader<R, B>
[src]

pub fn is_closed(&self) -> bool[src]

pub fn into_inner(self) -> R[src]

impl<R> BoxReader<R, Vec<u8>>[src]

pub fn new(inner: R, key: Key, nonce: Nonce) -> BoxReader<R, Vec<u8>>[src]

Trait Implementations

impl<R: AsyncRead, B> AsyncRead for BoxReader<R, B> where
    R: Unpin + AsyncRead + 'static,
    B: AsMut<[u8]> + Unpin
[src]

Auto Trait Implementations

impl<R, B> RefUnwindSafe for BoxReader<R, B> where
    B: RefUnwindSafe,
    R: RefUnwindSafe

impl<R, B> Send for BoxReader<R, B> where
    B: Send,
    R: Send

impl<R, B> Sync for BoxReader<R, B> where
    B: Sync,
    R: Sync

impl<R, B> Unpin for BoxReader<R, B> where
    B: Unpin,
    R: Unpin

impl<R, B> UnwindSafe for BoxReader<R, B> where
    B: UnwindSafe,
    R: 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> 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>,