pub enum ResolvedCapability {
FsRead {
paths: Vec<String>,
},
NetHttp {
hosts: Vec<String>,
},
ProcessSpawn {
programs: Vec<String>,
},
DeviceInput {
targets: Vec<String>,
},
DeviceCapture {
targets: Vec<String>,
},
}Expand description
A declaration with its scope resolved/pinned — the registry’s view.
Scope fields survive resolution; resolution never rewrites semantics (absolute paths and normalized hosts only).
Variants§
FsRead
Pinned absolute paths.
NetHttp
Pinned normalized hosts.
ProcessSpawn
Pinned program allow-list.
DeviceInput
Pinned input targets.
DeviceCapture
Pinned capture targets.
Implementations§
Source§impl ResolvedCapability
impl ResolvedCapability
Sourcepub const fn capability(&self) -> Capability
pub const fn capability(&self) -> Capability
The decision class this pinned declaration resolves to.
Trait Implementations§
Source§impl Clone for ResolvedCapability
impl Clone for ResolvedCapability
Source§impl Debug for ResolvedCapability
impl Debug for ResolvedCapability
impl Eq for ResolvedCapability
Source§impl PartialEq for ResolvedCapability
impl PartialEq for ResolvedCapability
impl StructuralPartialEq for ResolvedCapability
Auto Trait Implementations§
impl Freeze for ResolvedCapability
impl RefUnwindSafe for ResolvedCapability
impl Send for ResolvedCapability
impl Sync for ResolvedCapability
impl Unpin for ResolvedCapability
impl UnsafeUnpin for ResolvedCapability
impl UnwindSafe for ResolvedCapability
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