pub struct ControlFlags { /* private fields */ }Implementations§
Source§impl ControlFlags
impl ControlFlags
pub const EMPTY: Self
pub fn empty() -> Self
pub const fn from_bitflags(bitflags: BitFlags<ControlFlag, u16>) -> Self
pub fn from_bitflag(bitflag: ControlFlag) -> Self
pub fn raw_value(&self) -> u16
Source§impl ControlFlags
impl ControlFlags
pub fn remove_sacl_flags(self) -> Self
pub fn remove_dacl_flags(self) -> Self
pub fn sddl_string(&self, acl_type: Type) -> String
Trait Implementations§
Source§impl AsRef<BitFlags<ControlFlag, u16>> for ControlFlags
impl AsRef<BitFlags<ControlFlag, u16>> for ControlFlags
Source§impl BinRead for ControlFlags
impl BinRead for ControlFlags
Source§fn read_options<R: Read + Seek>(
reader: &mut R,
endian: Endian,
args: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( reader: &mut R, endian: Endian, args: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl BinWrite for ControlFlags
impl BinWrite for ControlFlags
Source§fn write_options<W: Write + Seek>(
&self,
writer: &mut W,
_endian: Endian,
args: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, writer: &mut W, _endian: Endian, args: Self::Args<'_>, ) -> BinResult<()>
Source§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming little-endian byte order. Read moreSource§fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming native-endian byte order. Read moreSource§fn write_be_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_be_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer, assuming big-endian byte order, using the
given arguments. Read moreSource§impl BitOr for ControlFlags
impl BitOr for ControlFlags
Source§impl BitOr<ControlFlag> for ControlFlags
impl BitOr<ControlFlag> for ControlFlags
Source§type Output = ControlFlags
type Output = ControlFlags
The resulting type after applying the
| operator.Source§impl BitOrAssign for ControlFlags
impl BitOrAssign for ControlFlags
Source§fn bitor_assign(&mut self, rhs: ControlFlags)
fn bitor_assign(&mut self, rhs: ControlFlags)
Performs the
|= operation. Read moreSource§impl BitOrAssign<ControlFlag> for ControlFlags
impl BitOrAssign<ControlFlag> for ControlFlags
Source§fn bitor_assign(&mut self, rhs: ControlFlag)
fn bitor_assign(&mut self, rhs: ControlFlag)
Performs the
|= operation. Read moreSource§impl Clone for ControlFlags
impl Clone for ControlFlags
Source§fn clone(&self) -> ControlFlags
fn clone(&self) -> ControlFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Contains<BitFlags<ControlFlag, u16>> for ControlFlags
impl Contains<BitFlags<ControlFlag, u16>> for ControlFlags
Source§impl Contains<ControlFlag> for ControlFlags
impl Contains<ControlFlag> for ControlFlags
fn contains(&self, bitflag: ControlFlag) -> bool
impl Copy for ControlFlags
Source§impl Debug for ControlFlags
impl Debug for ControlFlags
impl Eq for ControlFlags
Source§impl From<BitFlags<ControlFlag, u16>> for ControlFlags
impl From<BitFlags<ControlFlag, u16>> for ControlFlags
Source§impl From<u16> for ControlFlags
impl From<u16> for ControlFlags
Source§impl PartialEq for ControlFlags
impl PartialEq for ControlFlags
Auto Trait Implementations§
impl Freeze for ControlFlags
impl RefUnwindSafe for ControlFlags
impl Send for ControlFlags
impl Sync for ControlFlags
impl Unpin for ControlFlags
impl UnsafeUnpin for ControlFlags
impl UnwindSafe for ControlFlags
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