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 pointer to the underlying buffer

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

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

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.