pub struct EffectiveFilesystemLayer<'a> { /* private fields */ }Expand description
One immutable filesystem constraint layer in an effective lowering view.
Implementations§
Source§impl<'a> EffectiveFilesystemLayer<'a>
impl<'a> EffectiveFilesystemLayer<'a>
Sourcepub const fn mode(&self) -> FilesystemMode
pub const fn mode(&self) -> FilesystemMode
Returns this layer’s enforcement ownership mode.
Sourcepub fn entries(&self) -> &[FilesystemRule]
pub fn entries(&self) -> &[FilesystemRule]
Returns all validated rules in this constraint layer.
Sourcepub const fn glob_scan_max_depth(&self) -> Option<NonZeroUsize>
pub const fn glob_scan_max_depth(&self) -> Option<NonZeroUsize>
Returns the layer’s configured glob scan depth.
Sourcepub fn protected_relative_paths(&self) -> &[PathBuf]
pub fn protected_relative_paths(&self) -> &[PathBuf]
Returns all protected relative paths in this constraint layer.
Trait Implementations§
Source§impl<'a> Clone for EffectiveFilesystemLayer<'a>
impl<'a> Clone for EffectiveFilesystemLayer<'a>
Source§fn clone(&self) -> EffectiveFilesystemLayer<'a>
fn clone(&self) -> EffectiveFilesystemLayer<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for EffectiveFilesystemLayer<'a>
Auto Trait Implementations§
impl<'a> Freeze for EffectiveFilesystemLayer<'a>
impl<'a> RefUnwindSafe for EffectiveFilesystemLayer<'a>
impl<'a> Send for EffectiveFilesystemLayer<'a>
impl<'a> Sync for EffectiveFilesystemLayer<'a>
impl<'a> Unpin for EffectiveFilesystemLayer<'a>
impl<'a> UnsafeUnpin for EffectiveFilesystemLayer<'a>
impl<'a> UnwindSafe for EffectiveFilesystemLayer<'a>
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