pub struct DifferenceMapLimits { /* private fields */ }Expand description
Working-memory and output bounds for one difference-map request.
Implementations§
Source§impl DifferenceMapLimits
impl DifferenceMapLimits
pub const fn new( max_accumulator_bytes: NonZeroUsize, max_output_bytes: NonZeroUsize, ) -> Self
pub const fn max_accumulator_bytes(self) -> usize
pub const fn max_output_bytes(self) -> usize
Trait Implementations§
Source§impl Clone for DifferenceMapLimits
impl Clone for DifferenceMapLimits
Source§fn clone(&self) -> DifferenceMapLimits
fn clone(&self) -> DifferenceMapLimits
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 moreimpl Copy for DifferenceMapLimits
Source§impl Debug for DifferenceMapLimits
impl Debug for DifferenceMapLimits
Source§impl Default for DifferenceMapLimits
impl Default for DifferenceMapLimits
impl Eq for DifferenceMapLimits
Source§impl PartialEq for DifferenceMapLimits
impl PartialEq for DifferenceMapLimits
impl StructuralPartialEq for DifferenceMapLimits
Auto Trait Implementations§
impl Freeze for DifferenceMapLimits
impl RefUnwindSafe for DifferenceMapLimits
impl Send for DifferenceMapLimits
impl Sync for DifferenceMapLimits
impl Unpin for DifferenceMapLimits
impl UnsafeUnpin for DifferenceMapLimits
impl UnwindSafe for DifferenceMapLimits
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