pub struct ChaffStreamArgs { /* private fields */ }Implementations§
Source§impl ChaffStreamArgs
impl ChaffStreamArgs
Sourcepub fn with_length(output_length: usize) -> Self
pub fn with_length(output_length: usize) -> Self
The output_length parameter controls the size of the hypothetical chaff input file.
In other words, the length of the stream is the length of the headers plus output_length.
pub fn set_chunk_size( &mut self, chunk_size: usize, ) -> Result<(), ChunkSizeTooSmallError>
Trait Implementations§
Source§impl Clone for ChaffStreamArgs
impl Clone for ChaffStreamArgs
Source§fn clone(&self) -> ChaffStreamArgs
fn clone(&self) -> ChaffStreamArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChaffStreamArgs
impl Debug for ChaffStreamArgs
impl Copy for ChaffStreamArgs
Auto Trait Implementations§
impl Freeze for ChaffStreamArgs
impl RefUnwindSafe for ChaffStreamArgs
impl Send for ChaffStreamArgs
impl Sync for ChaffStreamArgs
impl Unpin for ChaffStreamArgs
impl UnsafeUnpin for ChaffStreamArgs
impl UnwindSafe for ChaffStreamArgs
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