pub enum Right {
Read,
Write,
Execute,
Create,
Delete,
Send,
Receive,
Delegate,
Revoke,
Declassify,
}Expand description
Individual access rights.
Variants§
Read
Read access to a resource
Write
Write/modify access to a resource
Execute
Execute access (for code resources)
Create
Create new child resources
Delete
Delete/destroy resources
Send
Send messages to actors
Receive
Receive messages from actors
Delegate
Delegate capabilities to other plugins
Revoke
Revoke delegated capabilities
Declassify
Declassify data (controlled downgrading for IFC)
Implementations§
Trait Implementations§
impl Copy for Right
impl Eq for Right
Source§impl FromIterator<Right> for Rights
impl FromIterator<Right> for Rights
Source§impl Ord for Right
impl Ord for Right
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Right
impl PartialOrd for Right
impl StructuralPartialEq for Right
Auto Trait Implementations§
impl Freeze for Right
impl RefUnwindSafe for Right
impl Send for Right
impl Sync for Right
impl Unpin for Right
impl UnsafeUnpin for Right
impl UnwindSafe for Right
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