pub enum Scope {
StateRoot,
EachSceneDir,
AnyEngineDir,
Anywhere,
}Expand description
The directory a Credential’s secret is in.
Variants§
StateRoot
<state root>/, the instance’s own and each other one’s.
EachSceneDir
<state root>/scenes/<any>/, including a scene created later.
AnyEngineDir
Any <dir>/<engine dir>/, an engine dir being the instance’s project
directory or .agix (Layout::engine_dir_names). The sandbox
applies it to those of the project.
Anywhere
Any directory. The sandbox leaves it to deny_read, which covers the
user’s home.
Trait Implementations§
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Forget for Scope
impl Freeze for Scope
impl Move for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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