Struct windows_permissions::Ace [−][src]
#[repr(C)]pub struct Ace { /* fields omitted */ }
An access control list.
See MSDN for layout details, or ACCESS_ALLOWED_ACE on MSDN for an example.
Implementations
impl Ace
[src]
pub unsafe fn ref_from_nonnull<'s>(ptr: NonNull<ACE_HEADER>) -> &'s Self
[src]
Get a reference from an ACE pointer.
Requirements
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
pub fn ace_type(&self) -> AceType
[src]
Determine the type of ACE
pub fn flags(&self) -> AceFlags
[src]
Get the option flags set on the ACE
pub fn mask(&self) -> AccessRights
[src]
Get the access mask if it is available for this ACE type
pub fn sid(&self) -> Option<&Sid>
[src]
Get the SID if it is available for this ACE type
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ace
impl Send for Ace
impl Sync for Ace
impl Unpin for Ace
impl UnwindSafe for Ace
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,