#[non_exhaustive]pub enum Fsctl {
Show 16 variants
ValidateNegotiateInfo,
DfsGetReferrals,
DfsGetReferralsEx,
PipeTransceive,
PipePeek,
PipeWait,
LmrRequestResiliency,
QueryNetworkInterfaceInfo,
SrvEnumerateSnapshots,
SrvRequestResumeKey,
SrvCopychunk,
SrvCopychunkWrite,
SetSparse,
DuplicateExtentsToFile,
DuplicateExtentsToFileEx,
Other(u32),
}Expand description
File-system control codes we recognize at the wire layer.
MS-FSCC lists the full set. Unknown codes round-trip via Fsctl::Other.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ValidateNegotiateInfo
FSCTL_VALIDATE_NEGOTIATE_INFO.
DfsGetReferrals
FSCTL_DFS_GET_REFERRALS.
DfsGetReferralsEx
FSCTL_DFS_GET_REFERRALS_EX.
PipeTransceive
FSCTL_PIPE_TRANSCEIVE.
PipePeek
FSCTL_PIPE_PEEK.
PipeWait
FSCTL_PIPE_WAIT.
LmrRequestResiliency
FSCTL_LMR_REQUEST_RESILIENCY.
QueryNetworkInterfaceInfo
FSCTL_QUERY_NETWORK_INTERFACE_INFO.
SrvEnumerateSnapshots
FSCTL_SRV_ENUMERATE_SNAPSHOTS.
SrvRequestResumeKey
FSCTL_SRV_REQUEST_RESUME_KEY.
SrvCopychunk
FSCTL_SRV_COPYCHUNK.
SrvCopychunkWrite
FSCTL_SRV_COPYCHUNK_WRITE.
SetSparse
FSCTL_SET_SPARSE.
DuplicateExtentsToFile
FSCTL_DUPLICATE_EXTENTS_TO_FILE.
DuplicateExtentsToFileEx
FSCTL_DUPLICATE_EXTENTS_TO_FILE_EX.
Other(u32)
Anything else.
Implementations§
Source§impl Fsctl
impl Fsctl
pub const VALIDATE_NEGOTIATE_INFO: u32 = 0x0014_0204
pub const DFS_GET_REFERRALS: u32 = 0x0006_0194
pub const DFS_GET_REFERRALS_EX: u32 = 0x0006_01B0
pub const PIPE_TRANSCEIVE: u32 = 0x0011_C017
pub const PIPE_PEEK: u32 = 0x0011_400C
pub const PIPE_WAIT: u32 = 0x0011_0018
pub const LMR_REQUEST_RESILIENCY: u32 = 0x0014_01D4
pub const QUERY_NETWORK_INTERFACE_INFO: u32 = 0x0014_01FC
pub const SRV_ENUMERATE_SNAPSHOTS: u32 = 0x0014_4064
pub const SRV_REQUEST_RESUME_KEY: u32 = 0x0014_0078
pub const SRV_COPYCHUNK: u32 = 0x0014_40F2
pub const SRV_COPYCHUNK_WRITE: u32 = 0x0014_80F2
pub const SET_SPARSE: u32 = 0x0009_00C4
pub const DUPLICATE_EXTENTS_TO_FILE: u32 = 0x0009_8344
pub const DUPLICATE_EXTENTS_TO_FILE_EX: u32 = 0x0009_83E8
pub fn from_u32(code: u32) -> Self
pub fn as_u32(self) -> u32
Trait Implementations§
impl Copy for Fsctl
impl Eq for Fsctl
impl StructuralPartialEq for Fsctl
Auto Trait Implementations§
impl Forget for Fsctl
impl Freeze for Fsctl
impl Move for Fsctl
impl RefUnwindSafe for Fsctl
impl Send for Fsctl
impl Sync for Fsctl
impl Unpin for Fsctl
impl UnsafeUnpin for Fsctl
impl UnwindSafe for Fsctl
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