pub struct ExternalDropReadLimits {
pub max_total_bytes: u64,
pub max_file_bytes: u64,
pub max_files: usize,
}Fields§
§max_total_bytes: u64§max_file_bytes: u64§max_files: usizeImplementations§
Source§impl ExternalDropReadLimits
impl ExternalDropReadLimits
pub fn capped_by(self, cap: ExternalDropReadLimits) -> ExternalDropReadLimits
Trait Implementations§
Source§impl Clone for ExternalDropReadLimits
impl Clone for ExternalDropReadLimits
Source§fn clone(&self) -> ExternalDropReadLimits
fn clone(&self) -> ExternalDropReadLimits
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 ExternalDropReadLimits
Source§impl Debug for ExternalDropReadLimits
impl Debug for ExternalDropReadLimits
Source§impl Default for ExternalDropReadLimits
impl Default for ExternalDropReadLimits
Source§fn default() -> ExternalDropReadLimits
fn default() -> ExternalDropReadLimits
Returns the “default value” for a type. Read more
impl Eq for ExternalDropReadLimits
Source§impl PartialEq for ExternalDropReadLimits
impl PartialEq for ExternalDropReadLimits
Source§fn eq(&self, other: &ExternalDropReadLimits) -> bool
fn eq(&self, other: &ExternalDropReadLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExternalDropReadLimits
Auto Trait Implementations§
impl Freeze for ExternalDropReadLimits
impl RefUnwindSafe for ExternalDropReadLimits
impl Send for ExternalDropReadLimits
impl Sync for ExternalDropReadLimits
impl Unpin for ExternalDropReadLimits
impl UnsafeUnpin for ExternalDropReadLimits
impl UnwindSafe for ExternalDropReadLimits
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