pub enum ViewKind {
Full,
Readonly,
}Expand description
The kind of a view.
Variants§
Full
Expose everything. The same as cap_std::fs::Dir itself.
Readonly
Expose a readonly view. Creating, renaming, or deleting new files or directories is not permitted, and files can only be opened in readonly mode.
Trait Implementations§
impl Copy for ViewKind
impl Eq for ViewKind
impl StructuralPartialEq for ViewKind
Auto Trait Implementations§
impl Freeze for ViewKind
impl RefUnwindSafe for ViewKind
impl Send for ViewKind
impl Sync for ViewKind
impl Unpin for ViewKind
impl UnwindSafe for ViewKind
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