pub enum SessionPermissionGrantKind {
Path {
path: PathBuf,
access: PathAccess,
},
Network,
NetworkDomain(String),
HostIntegration(HostIntegration),
}Expand description
Capability represented by one active session-scoped permission grant.
Variants§
Path
Read-only or read-write access to an external path.
Fields
§
access: PathAccessAccess level (ReadOnly or ReadWrite).
Network
Outbound network access for the remainder of the session.
NetworkDomain(String)
Exact external domain authorized for web/browser tools in this session.
HostIntegration(HostIntegration)
Forwarded native host integration (SSH agent, GPG agent, or D-Bus).
Trait Implementations§
Source§impl Clone for SessionPermissionGrantKind
impl Clone for SessionPermissionGrantKind
Source§impl Debug for SessionPermissionGrantKind
impl Debug for SessionPermissionGrantKind
impl Eq for SessionPermissionGrantKind
impl StructuralPartialEq for SessionPermissionGrantKind
Auto Trait Implementations§
impl Forget for SessionPermissionGrantKind
impl Freeze for SessionPermissionGrantKind
impl Move for SessionPermissionGrantKind
impl RefUnwindSafe for SessionPermissionGrantKind
impl Send for SessionPermissionGrantKindwhere
RawVecInner: Send,
impl Sync for SessionPermissionGrantKindwhere
RawVecInner: Sync,
impl Unpin for SessionPermissionGrantKind
impl UnsafeUnpin for SessionPermissionGrantKind
impl UnwindSafe for SessionPermissionGrantKindwhere
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.