pub enum Sandbox {
Inside,
Itself,
Contains,
Outside,
}Expand description
Where a file is in relation to the folder a program’s file access is confined to.
Variants§
Inside
In the folder, or in a folder within it.
Itself
The folder itself.
Contains
A folder the sandbox is in.
Outside
Anywhere else.
Trait Implementations§
impl Copy for Sandbox
impl Eq for Sandbox
impl StructuralPartialEq for Sandbox
Auto Trait Implementations§
impl Forget for Sandbox
impl Freeze for Sandbox
impl Move for Sandbox
impl RefUnwindSafe for Sandbox
impl Send for Sandbox
impl Sync for Sandbox
impl Unpin for Sandbox
impl UnsafeUnpin for Sandbox
impl UnwindSafe for Sandbox
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