pub enum FilesystemBindingMode {
NativeObject,
CanonicalPath,
}Expand description
Evidence used to bind a grant immediately before native setup.
Variants§
NativeObject
A held native handle and stable object identity back this grant.
CanonicalPath
A freshly re-resolved canonical path backs this grant. This mode assumes a trusted host does not concurrently replace path components before native sandbox installation.
Trait Implementations§
Source§impl Clone for FilesystemBindingMode
impl Clone for FilesystemBindingMode
impl Copy for FilesystemBindingMode
Source§impl Debug for FilesystemBindingMode
impl Debug for FilesystemBindingMode
impl Eq for FilesystemBindingMode
Source§impl PartialEq for FilesystemBindingMode
impl PartialEq for FilesystemBindingMode
impl StructuralPartialEq for FilesystemBindingMode
Auto Trait Implementations§
impl Freeze for FilesystemBindingMode
impl RefUnwindSafe for FilesystemBindingMode
impl Send for FilesystemBindingMode
impl Sync for FilesystemBindingMode
impl Unpin for FilesystemBindingMode
impl UnsafeUnpin for FilesystemBindingMode
impl UnwindSafe for FilesystemBindingMode
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