pub struct CapRights(/* private fields */);Expand description
Rights attached to a capability (bitflags as u8).
Attenuation is mint-time only in this revision: there is no runtime
attenuate() that narrows an existing Cap in place. Mint a new Cap with
fewer bits instead (e.g. reply grants use CapRights::SEND alone).
Implementations§
Trait Implementations§
impl Copy for CapRights
impl Eq for CapRights
impl StructuralPartialEq for CapRights
Auto Trait Implementations§
impl Freeze for CapRights
impl RefUnwindSafe for CapRights
impl Send for CapRights
impl Sync for CapRights
impl Unpin for CapRights
impl UnsafeUnpin for CapRights
impl UnwindSafe for CapRights
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