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 · 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 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
Source§impl PartialEq for ExternalDropReadLimits
impl PartialEq for ExternalDropReadLimits
impl Copy for ExternalDropReadLimits
impl Eq for ExternalDropReadLimits
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