Struct wnf::SecurityDescriptor
source · #[repr(C)]pub struct SecurityDescriptor { /* private fields */ }
Expand description
A Windows security descriptor
Since the layout of security descriptors is unstable, this is an opaque type, i.e. it is only meant to be used behind a reference or pointer.
You can configure the security descriptor of a state upon creation through the
StateCreation::security_descriptor
method.
See RFC 1861-extern-types for some background on opaque types.
See Security Descriptors for details about security descriptors.
Trait Implementations§
source§impl AsRef<SecurityDescriptor> for BoxedSecurityDescriptor
impl AsRef<SecurityDescriptor> for BoxedSecurityDescriptor
source§fn as_ref(&self) -> &SecurityDescriptor
fn as_ref(&self) -> &SecurityDescriptor
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<SecurityDescriptor> for LocalBox<SecurityDescriptor>
Available on crate feature windows_permissions
only.
impl AsRef<SecurityDescriptor> for LocalBox<SecurityDescriptor>
Available on crate feature
windows_permissions
only.source§fn as_ref(&self) -> &SecurityDescriptor
fn as_ref(&self) -> &SecurityDescriptor
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<SecurityDescriptor> for SecurityDescriptor
Available on crate feature windows_permissions
only.
impl AsRef<SecurityDescriptor> for SecurityDescriptor
Available on crate feature
windows_permissions
only.source§fn as_ref(&self) -> &SecurityDescriptor
fn as_ref(&self) -> &SecurityDescriptor
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<SecurityDescriptor> for &SecurityDescriptor
Available on crate feature windows_permissions
only.
impl Borrow<SecurityDescriptor> for &SecurityDescriptor
Available on crate feature
windows_permissions
only.source§fn borrow(&self) -> &SecurityDescriptor
fn borrow(&self) -> &SecurityDescriptor
Immutably borrows from an owned value. Read more
source§impl Borrow<SecurityDescriptor> for BoxedSecurityDescriptor
impl Borrow<SecurityDescriptor> for BoxedSecurityDescriptor
source§fn borrow(&self) -> &SecurityDescriptor
fn borrow(&self) -> &SecurityDescriptor
Immutably borrows from an owned value. Read more
source§impl Borrow<SecurityDescriptor> for LocalBox<SecurityDescriptor>
Available on crate feature windows_permissions
only.
impl Borrow<SecurityDescriptor> for LocalBox<SecurityDescriptor>
Available on crate feature
windows_permissions
only.source§fn borrow(&self) -> &SecurityDescriptor
fn borrow(&self) -> &SecurityDescriptor
Immutably borrows from an owned value. Read more
source§impl Borrow<SecurityDescriptor> for SecurityDescriptor
Available on crate feature windows_permissions
only.
impl Borrow<SecurityDescriptor> for SecurityDescriptor
Available on crate feature
windows_permissions
only.source§fn borrow(&self) -> &SecurityDescriptor
fn borrow(&self) -> &SecurityDescriptor
Immutably borrows from an owned value. Read more