pub struct FilesystemLimits {
pub max_files: usize,
pub max_file_bytes: usize,
pub max_total_bytes: usize,
pub max_changes: usize,
pub max_change_bytes: usize,
}Expand description
Bounds applied by the headless filesystem adapter.
Fields§
§max_files: usizeMaximum number of files returned by a listing.
max_file_bytes: usizeMaximum size of one UTF-8 file.
max_total_bytes: usizeMaximum total bytes read by one listing or one proposal.
max_changes: usizeMaximum files in one proposal.
max_change_bytes: usizeMaximum proposal content bytes per file.
Trait Implementations§
Source§impl Clone for FilesystemLimits
impl Clone for FilesystemLimits
Source§fn clone(&self) -> FilesystemLimits
fn clone(&self) -> FilesystemLimits
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 FilesystemLimits
Source§impl Debug for FilesystemLimits
impl Debug for FilesystemLimits
Auto Trait Implementations§
impl Freeze for FilesystemLimits
impl RefUnwindSafe for FilesystemLimits
impl Send for FilesystemLimits
impl Sync for FilesystemLimits
impl Unpin for FilesystemLimits
impl UnsafeUnpin for FilesystemLimits
impl UnwindSafe for FilesystemLimits
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