pub struct ResolvedAuthority {
pub fs_read: ResolvedScope,
pub fs_write: ResolvedScope,
pub exec: ResolvedScope,
pub net: ResolvedScope,
}Expand description
Per-axis resolved authority for the four OS-confinement axes (the axes a
native fence governs; max_calls/valid_for_generation are gate budget, not
fence scope, and are out of this projection).
Fields§
§fs_read: ResolvedScope§fs_write: ResolvedScope§exec: ResolvedScope§net: ResolvedScopeImplementations§
Source§impl ResolvedAuthority
impl ResolvedAuthority
Sourcepub fn from_delegated(caveats: &Caveats) -> Self
pub fn from_delegated(caveats: &Caveats) -> Self
Project a delegated Caveats into the resolved lattice — the bound the
grant alone authorizes (before adding any [RuntimeClosure], which lives
in agent-bridle).
Trait Implementations§
Source§impl Clone for ResolvedAuthority
impl Clone for ResolvedAuthority
Source§impl Debug for ResolvedAuthority
impl Debug for ResolvedAuthority
Source§impl<'de> Deserialize<'de> for ResolvedAuthority
impl<'de> Deserialize<'de> for ResolvedAuthority
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResolvedAuthority
Source§impl PartialEq for ResolvedAuthority
impl PartialEq for ResolvedAuthority
Source§impl Serialize for ResolvedAuthority
impl Serialize for ResolvedAuthority
impl StructuralPartialEq for ResolvedAuthority
Auto Trait Implementations§
impl Freeze for ResolvedAuthority
impl RefUnwindSafe for ResolvedAuthority
impl Send for ResolvedAuthority
impl Sync for ResolvedAuthority
impl Unpin for ResolvedAuthority
impl UnsafeUnpin for ResolvedAuthority
impl UnwindSafe for ResolvedAuthority
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