pub struct Scope {
pub allow_roots: Vec<PathBuf>,
pub forbid_paths: Vec<PathBuf>,
}
Expand description
Scope policy restricting allowed roots and forbidding specific absolute paths.
Fields§
§allow_roots: Vec<PathBuf>
§forbid_paths: Vec<PathBuf>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin 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