#[repr(C)]pub struct Ace { /* private fields */ }
Expand description
An access control list.
See MSDN for layout details, or ACCESS_ALLOWED_ACE on MSDN for an example.
Implementations§
Source§impl Ace
impl Ace
Sourcepub unsafe fn ref_from_nonnull<'s>(ptr: NonNull<ACE_HEADER>) -> &'s Self
pub unsafe fn ref_from_nonnull<'s>(ptr: NonNull<ACE_HEADER>) -> &'s Self
Get a reference from an ACE pointer.
§Safety
ptr
must point to a valid ACE structure- The ACE header must be followed by the correct ACE structure
- The entire structure must remain alive at least as long as
's
Sourcepub fn mask(&self) -> AccessRights
pub fn mask(&self) -> AccessRights
Get the access mask if it is available for this ACE type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ace
impl RefUnwindSafe for Ace
impl Send for Ace
impl Sync for Ace
impl Unpin for Ace
impl UnwindSafe for Ace
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