[][src]Trait ffsend_api::pipe::prelude::PipeWrite

pub trait PipeWrite<P>: Write where
    P: Pipe
{ fn new(pipe: P, inner: Box<dyn Write>) -> Self; }

A writer wrapping another writher, to encrypt or decrypt data it is writen to.

Required methods

fn new(pipe: P, inner: Box<dyn Write>) -> Self

Wrap the given inner writer, transform data using crypt.

Loading content...

Implementors

impl PipeWrite<EceCrypt> for EceWriter[src]

impl PipeWrite<GcmCrypt> for GcmWriter[src]

impl<P> PipeWrite<P> for PipeWriter<P> where
    P: Pipe
[src]

Loading content...