Struct winsafe::co::FILE_SECURITY
source · pub struct FILE_SECURITY(/* private fields */);
Available on crate feature
kernel
only.Expand description
HFILE::CreateFile
security
(u32
).
Originally has SECURITY
prefix.
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl FILE_SECURITY
impl FILE_SECURITY
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl FILE_SECURITY
impl FILE_SECURITY
pub const ANONYMOUS: Self = _
pub const IDENTIFICATION: Self = _
pub const IMPERSONATION: Self = _
pub const DELEGATION: Self = _
pub const CONTEXT_TRACKING: Self = _
pub const EFFECTIVE_ONLY: Self = _
Trait Implementations§
source§impl AsRef<u32> for FILE_SECURITY
impl AsRef<u32> for FILE_SECURITY
source§impl Binary for FILE_SECURITY
impl Binary for FILE_SECURITY
source§impl BitAnd for FILE_SECURITY
impl BitAnd for FILE_SECURITY
source§impl BitAndAssign for FILE_SECURITY
impl BitAndAssign for FILE_SECURITY
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for FILE_SECURITY
impl BitOr for FILE_SECURITY
source§impl BitOrAssign for FILE_SECURITY
impl BitOrAssign for FILE_SECURITY
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for FILE_SECURITY
impl BitXor for FILE_SECURITY
source§impl BitXorAssign for FILE_SECURITY
impl BitXorAssign for FILE_SECURITY
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for FILE_SECURITY
impl Clone for FILE_SECURITY
source§fn clone(&self) -> FILE_SECURITY
fn clone(&self) -> FILE_SECURITY
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 Debug for FILE_SECURITY
impl Debug for FILE_SECURITY
source§impl Default for FILE_SECURITY
impl Default for FILE_SECURITY
source§fn default() -> FILE_SECURITY
fn default() -> FILE_SECURITY
Returns the “default value” for a type. Read more
source§impl Display for FILE_SECURITY
impl Display for FILE_SECURITY
source§impl From<FILE_SECURITY> for u32
impl From<FILE_SECURITY> for u32
source§fn from(v: FILE_SECURITY) -> Self
fn from(v: FILE_SECURITY) -> Self
Converts to this type from the input type.
source§impl Hash for FILE_SECURITY
impl Hash for FILE_SECURITY
source§impl IntUnderlying for FILE_SECURITY
impl IntUnderlying for FILE_SECURITY
source§impl LowerHex for FILE_SECURITY
impl LowerHex for FILE_SECURITY
source§impl NativeBitflag for FILE_SECURITY
impl NativeBitflag for FILE_SECURITY
source§impl Not for FILE_SECURITY
impl Not for FILE_SECURITY
source§impl Octal for FILE_SECURITY
impl Octal for FILE_SECURITY
source§impl Ord for FILE_SECURITY
impl Ord for FILE_SECURITY
source§impl PartialEq for FILE_SECURITY
impl PartialEq for FILE_SECURITY
source§fn eq(&self, other: &FILE_SECURITY) -> bool
fn eq(&self, other: &FILE_SECURITY) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FILE_SECURITY
impl PartialOrd for FILE_SECURITY
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 UpperHex for FILE_SECURITY
impl UpperHex for FILE_SECURITY
impl Copy for FILE_SECURITY
impl Eq for FILE_SECURITY
impl NativeConst for FILE_SECURITY
impl Send for FILE_SECURITY
impl StructuralPartialEq for FILE_SECURITY
Auto Trait Implementations§
impl Freeze for FILE_SECURITY
impl RefUnwindSafe for FILE_SECURITY
impl Sync for FILE_SECURITY
impl Unpin for FILE_SECURITY
impl UnwindSafe for FILE_SECURITY
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