#[repr(u32)]pub enum PolicyRights {
Undefined = 0,
Read = 1,
Write = 2,
Execute = 4,
All = 255,
}
Variants§
Implementations§
Source§impl PolicyRights
impl PolicyRights
pub const No: PolicyRights = PolicyRights::Undefined
Trait Implementations§
Source§impl Clone for PolicyRights
impl Clone for PolicyRights
Source§fn clone(&self) -> PolicyRights
fn clone(&self) -> PolicyRights
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PolicyRights
impl Debug for PolicyRights
Source§impl Hash for PolicyRights
impl Hash for PolicyRights
Source§impl PartialEq for PolicyRights
impl PartialEq for PolicyRights
impl Copy for PolicyRights
impl Eq for PolicyRights
impl StructuralPartialEq for PolicyRights
Auto Trait Implementations§
impl Freeze for PolicyRights
impl RefUnwindSafe for PolicyRights
impl Send for PolicyRights
impl Sync for PolicyRights
impl Unpin for PolicyRights
impl UnwindSafe for PolicyRights
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