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

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

A reader wrapping another reader, to encrypt or decrypt data read from it.

Required methods

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

Wrap the given inner reader, transform data using crypt.

Loading content...

Implementors

impl PipeRead<EceCrypt> for EceReader[src]

impl PipeRead<GcmCrypt> for GcmReader[src]

impl<P> PipeRead<P> for PipeReader<P> where
    P: Pipe
[src]

Loading content...