pub struct ProcessSessionPermissionSnapshot { /* private fields */ }Expand description
Immutable capabilities retained by one runtime session.
Implementations§
Source§impl ProcessSessionPermissionSnapshot
impl ProcessSessionPermissionSnapshot
Sourcepub fn path_rules(&self) -> &[PathAccessRule]
pub fn path_rules(&self) -> &[PathAccessRule]
Returns normalized, session-scoped path grants.
Sourcepub fn host_integrations(&self) -> &[HostIntegration]
pub fn host_integrations(&self) -> &[HostIntegration]
Returns explicitly approved native host integrations.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ProcessSessionPermissionSnapshot
impl Freeze for ProcessSessionPermissionSnapshotwhere
*const u8 is !null: Freeze,
PhantomData<PathAccessRule>: Freeze,
PhantomData<HostIntegration>: Freeze,
impl Move for ProcessSessionPermissionSnapshot
impl RefUnwindSafe for ProcessSessionPermissionSnapshot
impl Send for ProcessSessionPermissionSnapshotwhere
RawVecInner: Send,
impl Sync for ProcessSessionPermissionSnapshotwhere
RawVecInner: Sync,
impl Unpin for ProcessSessionPermissionSnapshot
impl UnsafeUnpin for ProcessSessionPermissionSnapshotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PathAccessRule>: UnsafeUnpin,
PhantomData<HostIntegration>: UnsafeUnpin,
impl UnwindSafe for ProcessSessionPermissionSnapshotwhere
RawVecInner: UnwindSafe,
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