#[non_exhaustive]pub struct WorkspaceOptions {
pub max_bytes: u64,
pub max_nodes: u64,
pub max_file_bytes: u64,
}Expand description
Configurable per-workspace resource limits.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_bytes: u64The maximum total logical bytes the workspace may hold.
max_nodes: u64The maximum number of active nodes the workspace may hold.
max_file_bytes: u64The maximum logical size of a single regular file.
Trait Implementations§
Source§impl Clone for WorkspaceOptions
impl Clone for WorkspaceOptions
Source§fn clone(&self) -> WorkspaceOptions
fn clone(&self) -> WorkspaceOptions
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 WorkspaceOptions
Source§impl Debug for WorkspaceOptions
impl Debug for WorkspaceOptions
Auto Trait Implementations§
impl Freeze for WorkspaceOptions
impl RefUnwindSafe for WorkspaceOptions
impl Send for WorkspaceOptions
impl Sync for WorkspaceOptions
impl Unpin for WorkspaceOptions
impl UnsafeUnpin for WorkspaceOptions
impl UnwindSafe for WorkspaceOptions
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