pub struct ResourceScope {
pub roots: Vec<ResourceId>,
pub discovery: DiscoveryOptions,
}Expand description
Scope for enumeration and deletion checks. Filters retain filesystem semantics. Roots identify a resource or hierarchical URI/path descendants for deletion. DiscoveryOptions remains a filesystem-specific boundary leak.
Unstable: may change before 1.0; filesystem is the only supported provider.
Fields§
§roots: Vec<ResourceId>§discovery: DiscoveryOptionsTrait Implementations§
Source§impl Clone for ResourceScope
impl Clone for ResourceScope
Auto Trait Implementations§
impl Freeze for ResourceScope
impl RefUnwindSafe for ResourceScope
impl Send for ResourceScope
impl Sync for ResourceScope
impl Unpin for ResourceScope
impl UnsafeUnpin for ResourceScope
impl UnwindSafe for ResourceScope
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