pub enum Accessor {
Other,
Group,
User,
}
Expand description
Enum for specifying the context / “who” accesses in is_allowed
Variants§
Other
Access by anyone other than the user or group.
Group
Access by the group of the file.
User
Access by the owner of the file.
Trait Implementations§
source§impl PartialEq<Accessor> for Accessor
impl PartialEq<Accessor> for Accessor
impl Copy for Accessor
impl Eq for Accessor
impl StructuralEq for Accessor
impl StructuralPartialEq for Accessor
Auto Trait Implementations§
impl RefUnwindSafe for Accessor
impl Send for Accessor
impl Sync for Accessor
impl Unpin for Accessor
impl UnwindSafe for Accessor
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