pub struct Rights { /* private fields */ }Expand description
A set of rights, one bit per right a RightsSchema defines. It grows as wide as the
schema needs: Windows uses 32 bits, NFSv4 14, Proxmox about 60.
Bits mean nothing without their schema; store names (Entry::rights) and compile them
with RightsSchema::rights.
Implementations§
Trait Implementations§
Source§impl BitAndAssign<&Rights> for Rights
impl BitAndAssign<&Rights> for Rights
Source§fn bitand_assign(&mut self, other: &Rights)
fn bitand_assign(&mut self, other: &Rights)
Performs the
&= operation. Read moreSource§impl BitOrAssign<&Rights> for Rights
impl BitOrAssign<&Rights> for Rights
Source§fn bitor_assign(&mut self, other: &Rights)
fn bitor_assign(&mut self, other: &Rights)
Performs the
|= operation. Read moreimpl Eq for Rights
Source§impl Extend<usize> for Rights
impl Extend<usize> for Rights
Source§fn extend<I: IntoIterator<Item = usize>>(&mut self, bits: I)
fn extend<I: IntoIterator<Item = usize>>(&mut self, bits: I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: T)
fn extend_one(&mut self, item: T)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<usize> for Rights
impl FromIterator<usize> for Rights
impl StructuralPartialEq for Rights
Auto Trait Implementations§
impl Freeze for Rights
impl RefUnwindSafe for Rights
impl Send for Rights
impl Sync for Rights
impl Unpin for Rights
impl UnsafeUnpin for Rights
impl UnwindSafe for Rights
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