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

Name(&'s [u16])

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.

ObjectsAndSid(*const c_void)

An opaque pointer to objects and SID.

ObjectsAndName(*const c_void)

An opaque pointer to objects and name.

Bad

Bad means that trusteeForm is explicitly set to TRUSTEE_BAD_FORM

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.