pub enum FileView {
Real,
Deny,
}
Expand description
Specifies how to react when the program tries to access a file.
Variants§
Real
Gives complete access to the real filesystem.
Deny
Denies any file access. The i
and o
instructions will fail and the
interpreter will report that they are unsupported.
Trait Implementations§
impl Copy for FileView
impl Eq for FileView
impl StructuralPartialEq for FileView
Auto Trait Implementations§
impl Freeze for FileView
impl RefUnwindSafe for FileView
impl Send for FileView
impl Sync for FileView
impl Unpin for FileView
impl UnwindSafe for FileView
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