pub enum ReadScope {
Everything,
Only(Vec<PathBuf>),
}Expand description
What a confined command may read.
Variants§
Everything
Only(Vec<PathBuf>)
These roots, and those of the backend’s own table: the system directories programs load from and the user’s git configuration. Anywhere else a command sees names and metadata but no contents.
Implementations§
Trait Implementations§
impl Eq for ReadScope
impl StructuralPartialEq for ReadScope
Auto Trait Implementations§
impl Forget for ReadScope
impl Freeze for ReadScope
impl Move for ReadScope
impl RefUnwindSafe for ReadScope
impl Send for ReadScope
impl Sync for ReadScope
impl Unpin for ReadScope
impl UnsafeUnpin for ReadScope
impl UnwindSafe for ReadScope
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