pub struct DecryptArgs { /* private fields */ }Expand description
builder for arguments to Decrypt::new with default values, can be constructed with DecryptArgs::default
Implementations§
Source§impl DecryptArgs
impl DecryptArgs
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 decrypt before yielding to the executor
Trait Implementations§
Source§impl Clone for DecryptArgs
impl Clone for DecryptArgs
Source§fn clone(&self) -> DecryptArgs
fn clone(&self) -> DecryptArgs
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 DecryptArgs
impl Debug for DecryptArgs
Source§impl Default for DecryptArgs
impl Default for DecryptArgs
impl Copy for DecryptArgs
Auto Trait Implementations§
impl Freeze for DecryptArgs
impl RefUnwindSafe for DecryptArgs
impl Send for DecryptArgs
impl Sync for DecryptArgs
impl Unpin for DecryptArgs
impl UnsafeUnpin for DecryptArgs
impl UnwindSafe for DecryptArgs
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