pub struct EncryptArgs { /* private fields */ }Expand description
builder for arguments to Encrypt::new with default values, can be constructed with EncryptArgs::default
Implementations§
Source§impl EncryptArgs
impl EncryptArgs
Sourcepub fn set_bytes_per_poll(&mut self, bytes_per_poll: NonZeroUsize)
pub fn set_bytes_per_poll(&mut self, bytes_per_poll: NonZeroUsize)
sets the maximum number of bytes to encrypt before yielding to the executor
Trait Implementations§
Source§impl Clone for EncryptArgs
impl Clone for EncryptArgs
Source§fn clone(&self) -> EncryptArgs
fn clone(&self) -> EncryptArgs
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 EncryptArgs
impl Debug for EncryptArgs
Source§impl Default for EncryptArgs
impl Default for EncryptArgs
impl Copy for EncryptArgs
Auto Trait Implementations§
impl Freeze for EncryptArgs
impl RefUnwindSafe for EncryptArgs
impl Send for EncryptArgs
impl Sync for EncryptArgs
impl Unpin for EncryptArgs
impl UnsafeUnpin for EncryptArgs
impl UnwindSafe for EncryptArgs
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