pub struct PermissionCard { /* private fields */ }Expand description
An unforgeable handle to a permission card held by the runtime. The
handle is opaque to guests: components can hold, pass, derive, install,
and revoke cards only through the golem:permissions interfaces. When
carried in a schema-value-tree (see
schema-value-node::permission-card-handle) the handle is transferred
by ownership; the host converts it to/from its internal trusted
card-store representation at the boundary. The wire form is the card-id
(UUID) alone — no grants, parents, or metadata cross the wire as
authority.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PermissionCard
impl RefUnwindSafe for PermissionCard
impl Send for PermissionCard
impl Sync for PermissionCard
impl Unpin for PermissionCard
impl UnsafeUnpin for PermissionCard
impl UnwindSafe for PermissionCard
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