Struct windows_permissions::Trustee [−][src]
#[repr(C)]pub struct Trustee<'s> { /* fields omitted */ }
Expand description
An entity that can be added to an ACL.
Trustees can identify their subject (usually an account or a group) using a
string or a Sid
.
Implementations
Get a mutable pointer to the underlying buffer
Allocate and zero-initialize space for a Trustee
Safety
The Trustee is zero-initialized, and should only be used in contexts where that is acceptable.
Get the TrusteeSubject
of a Trustee
Panics
Panics if the trusteeForm
in the underlying object is an unrecognized
value. To get the value, use wrappers::GetTrusteeForm
directly.
Also panics if the pointer value is null.
Trait Implementations
Auto Trait Implementations
impl<'s> RefUnwindSafe for Trustee<'s>
impl<'s> UnwindSafe for Trustee<'s>