pub struct Dacl { /* private fields */ }Expand description
Discretionary access control list.
Implementations§
Source§impl Dacl
impl Dacl
Sourcepub fn from_entries(entries: Vec<Ace>) -> Self
pub fn from_entries(entries: Vec<Ace>) -> Self
Create a DACL from entries.
Sourcepub fn entries_mut(&mut self) -> &mut Vec<Ace>
pub fn entries_mut(&mut self) -> &mut Vec<Ace>
Return mutable entries.
Sourcepub fn canonicalize(&mut self)
pub fn canonicalize(&mut self)
Canonicalize ACE ordering.
Order is explicit deny, explicit allow, inherited deny, inherited allow.
Trait Implementations§
impl Eq for Dacl
impl StructuralPartialEq for Dacl
Auto Trait Implementations§
impl Freeze for Dacl
impl RefUnwindSafe for Dacl
impl Send for Dacl
impl Sync for Dacl
impl Unpin for Dacl
impl UnsafeUnpin for Dacl
impl UnwindSafe for Dacl
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