pub struct EffectiveFilesystemLowering<'a> { /* private fields */ }Expand description
The complete filesystem constraint set required by one effective result.
Every layer returned by Self::layers is mandatory input to lowering.
A backend must enforce the conjunction of all layers; treating one layer
as an alternative policy would widen the effective result.
Implementations§
Source§impl<'a> EffectiveFilesystemLowering<'a>
impl<'a> EffectiveFilesystemLowering<'a>
Sourcepub fn layers(
&self,
) -> impl ExactSizeIterator<Item = EffectiveFilesystemLayer<'a>> + '_
pub fn layers( &self, ) -> impl ExactSizeIterator<Item = EffectiveFilesystemLayer<'a>> + '_
Returns every filesystem constraint layer that must be enforced.
The iterator always contains both composition inputs, including when one of them is unrestricted. It is intentionally the only way to inspect lowering rules, so callers receive the complete constraint set instead of choosing a requested or ceiling side through a public accessor.
Sourcepub const fn glob_scan_max_depth(&self) -> Option<NonZeroUsize>
pub const fn glob_scan_max_depth(&self) -> Option<NonZeroUsize>
Returns the conservative glob scan depth required by all layers.
Trait Implementations§
Source§impl<'a> Clone for EffectiveFilesystemLowering<'a>
impl<'a> Clone for EffectiveFilesystemLowering<'a>
impl<'a> Copy for EffectiveFilesystemLowering<'a>
Auto Trait Implementations§
impl<'a> Freeze for EffectiveFilesystemLowering<'a>
impl<'a> RefUnwindSafe for EffectiveFilesystemLowering<'a>
impl<'a> Send for EffectiveFilesystemLowering<'a>
impl<'a> Sync for EffectiveFilesystemLowering<'a>
impl<'a> Unpin for EffectiveFilesystemLowering<'a>
impl<'a> UnsafeUnpin for EffectiveFilesystemLowering<'a>
impl<'a> UnwindSafe for EffectiveFilesystemLowering<'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