Struct wnf::UnspecifiedSecurityDescriptor
source · pub struct UnspecifiedSecurityDescriptor { /* private fields */ }
Expand description
A marker type for an unspecified security descriptor when creating a state
The security descriptor of a state can optionally be specified upon its creation. When creating a state via
a StateCreation
, this is used as a type parameter to indicate that no security descriptor has been specified.
In this case, a default security descriptor (see BoxedSecurityDescriptor::create_everyone_generic_all
) will be
used.
Trait Implementations§
source§impl Clone for UnspecifiedSecurityDescriptor
impl Clone for UnspecifiedSecurityDescriptor
source§fn clone(&self) -> UnspecifiedSecurityDescriptor
fn clone(&self) -> UnspecifiedSecurityDescriptor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Hash for UnspecifiedSecurityDescriptor
impl Hash for UnspecifiedSecurityDescriptor
source§impl Ord for UnspecifiedSecurityDescriptor
impl Ord for UnspecifiedSecurityDescriptor
source§fn cmp(&self, other: &UnspecifiedSecurityDescriptor) -> Ordering
fn cmp(&self, other: &UnspecifiedSecurityDescriptor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for UnspecifiedSecurityDescriptor
impl PartialEq for UnspecifiedSecurityDescriptor
source§fn eq(&self, other: &UnspecifiedSecurityDescriptor) -> bool
fn eq(&self, other: &UnspecifiedSecurityDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UnspecifiedSecurityDescriptor
impl PartialOrd for UnspecifiedSecurityDescriptor
source§fn partial_cmp(&self, other: &UnspecifiedSecurityDescriptor) -> Option<Ordering>
fn partial_cmp(&self, other: &UnspecifiedSecurityDescriptor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryIntoSecurityDescriptor for UnspecifiedSecurityDescriptor
impl TryIntoSecurityDescriptor for UnspecifiedSecurityDescriptor
§type IntoSecurityDescriptor = BoxedSecurityDescriptor
type IntoSecurityDescriptor = BoxedSecurityDescriptor
The target type of the fallible conversion
source§fn try_into_security_descriptor(self) -> Result<BoxedSecurityDescriptor>
fn try_into_security_descriptor(self) -> Result<BoxedSecurityDescriptor>
Performs the fallible conversion Read more
impl Copy for UnspecifiedSecurityDescriptor
impl Eq for UnspecifiedSecurityDescriptor
impl StructuralPartialEq for UnspecifiedSecurityDescriptor
Auto Trait Implementations§
impl Freeze for UnspecifiedSecurityDescriptor
impl RefUnwindSafe for UnspecifiedSecurityDescriptor
impl Send for UnspecifiedSecurityDescriptor
impl Sync for UnspecifiedSecurityDescriptor
impl Unpin for UnspecifiedSecurityDescriptor
impl UnwindSafe for UnspecifiedSecurityDescriptor
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