[][src]Struct age::stream::StreamWriter

pub struct StreamWriter<W> { /* fields omitted */ }

Writes an encrypted age file.

Implementations

impl<W: Write> StreamWriter<W>[src]

pub fn finish(self) -> Result<W>[src]

Writes the final chunk of the age file.

You MUST call finish when you are done writing, in order to finish the encryption process. Failing to call finish will result in a truncated file that that will fail to decrypt.

Trait Implementations

impl<'pin, W> Unpin for StreamWriter<W> where
    __StreamWriter<'pin, W>: Unpin
[src]

impl<W: Write> Write for StreamWriter<W>[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for StreamWriter<W> where
    W: RefUnwindSafe

impl<W> Send for StreamWriter<W> where
    W: Send

impl<W> Sync for StreamWriter<W> where
    W: Sync

impl<W> UnwindSafe for StreamWriter<W> where
    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>, 

impl<W> WriteBytesExt for W where
    W: Write + ?Sized