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
source§impl Debug for SecurityDescriptor
impl Debug for SecurityDescriptor
Auto Trait Implementations§
impl Freeze for SecurityDescriptor
impl RefUnwindSafe for SecurityDescriptor
impl Send for SecurityDescriptor
impl Sync for SecurityDescriptor
impl Unpin for SecurityDescriptor
impl UnwindSafe for SecurityDescriptor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<SD> TryIntoSecurityDescriptor for SDwhere
SD: Borrow<SecurityDescriptor>,
impl<SD> TryIntoSecurityDescriptor for SDwhere
SD: Borrow<SecurityDescriptor>,
§type IntoSecurityDescriptor = SD
type IntoSecurityDescriptor = SD
The target type of the fallible conversion