[][src]Struct ssb_boxstream::BoxWriter

pub struct BoxWriter<W, B> { /* fields omitted */ }

Implementations

impl<W, B> BoxWriter<W, B>[src]

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

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

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

impl<W> BoxWriter<W, Vec<u8>>[src]

pub fn new(w: W, key: Key, nonce: Nonce) -> BoxWriter<W, Vec<u8>>[src]

Trait Implementations

impl<W, B> AsyncWrite for BoxWriter<W, B> where
    W: AsyncWrite + Unpin + 'static,
    B: AsMut<[u8]> + Unpin
[src]

Auto Trait Implementations

impl<W, B> RefUnwindSafe for BoxWriter<W, B> where
    B: RefUnwindSafe,
    W: RefUnwindSafe

impl<W, B> Send for BoxWriter<W, B> where
    B: Send,
    W: Send

impl<W, B> Sync for BoxWriter<W, B> where
    B: Sync,
    W: Sync

impl<W, B> Unpin for BoxWriter<W, B> where
    B: Unpin,
    W: Unpin

impl<W, B> UnwindSafe for BoxWriter<W, B> where
    B: UnwindSafe,
    W: 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>,