Enum windows_permissions::structures::TrusteeSubject [−][src]
pub enum TrusteeSubject<'s> { Name(&'s [u16]), Sid(&'s Sid), ObjectsAndSid(*const c_void), ObjectsAndName(*const c_void), Bad, }
Expand description
The contents of a Trustee.
Variants
This trustee holds a zero-terminated WTF-16-encoded name. This can be
converted into an OsString
using
utilities::os_from_buf
.
Sid(&'s Sid)
This trustee holds a reference to the Sid it was created with.
An opaque pointer to objects and SID.
An opaque pointer to objects and name.
Bad
means that trusteeForm
is explicitly set to TRUSTEE_BAD_FORM
Trait Implementations
Auto Trait Implementations
impl<'s> RefUnwindSafe for TrusteeSubject<'s>
impl<'s> !Send for TrusteeSubject<'s>
impl<'s> !Sync for TrusteeSubject<'s>
impl<'s> Unpin for TrusteeSubject<'s>
impl<'s> UnwindSafe for TrusteeSubject<'s>