pub struct EceCrypt { /* private fields */ }
Expand description
Something that can encrypt or decrypt given data using ECE.
Implementations§
Source§impl EceCrypt
impl EceCrypt
Trait Implementations§
Source§impl Pipe for EceCrypt
impl Pipe for EceCrypt
Source§fn pipe(&mut self, input: &[u8]) -> (usize, Option<Vec<u8>>)
fn pipe(&mut self, input: &[u8]) -> (usize, Option<Vec<u8>>)
Pipe bytes from
input
, monitor/transform it, return the output. Read moreSource§fn reader(self, inner: Box<dyn Read>) -> Self::Reader
fn reader(self, inner: Box<dyn Read>) -> Self::Reader
Wrap the
inner
reader, bytes that are read are transformed through this pipe.Auto Trait Implementations§
impl Freeze for EceCrypt
impl RefUnwindSafe for EceCrypt
impl Send for EceCrypt
impl Sync for EceCrypt
impl Unpin for EceCrypt
impl UnwindSafe for EceCrypt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more