pub enum MountedFileSizePolicy {
PreviousOrZero,
PreviousOrMemoryPages,
Explicit(u64),
MemoryPages,
}Expand description
Mounting policy to determine actual mounted memory file size
Variants§
PreviousOrZero
Reuse the size from a previous mount or 0 if unknown
PreviousOrMemoryPages
Reuse the size from a previous mount or determine from memory pages.
Explicit(u64)
Explicitly set the file size, overriding other options.
MemoryPages
Determine file size from the memory pages.
Implementations§
Auto Trait Implementations§
impl Freeze for MountedFileSizePolicy
impl RefUnwindSafe for MountedFileSizePolicy
impl Send for MountedFileSizePolicy
impl Sync for MountedFileSizePolicy
impl Unpin for MountedFileSizePolicy
impl UnsafeUnpin for MountedFileSizePolicy
impl UnwindSafe for MountedFileSizePolicy
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