Skip to main content

Fsctl

Enum Fsctl 

Source
#[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

Source

pub const VALIDATE_NEGOTIATE_INFO: u32 = 0x0014_0204

Source

pub const DFS_GET_REFERRALS: u32 = 0x0006_0194

Source

pub const DFS_GET_REFERRALS_EX: u32 = 0x0006_01B0

Source

pub const PIPE_TRANSCEIVE: u32 = 0x0011_C017

Source

pub const PIPE_PEEK: u32 = 0x0011_400C

Source

pub const PIPE_WAIT: u32 = 0x0011_0018

Source

pub const LMR_REQUEST_RESILIENCY: u32 = 0x0014_01D4

Source

pub const QUERY_NETWORK_INTERFACE_INFO: u32 = 0x0014_01FC

Source

pub const SRV_ENUMERATE_SNAPSHOTS: u32 = 0x0014_4064

Source

pub const SRV_REQUEST_RESUME_KEY: u32 = 0x0014_0078

Source

pub const SRV_COPYCHUNK: u32 = 0x0014_40F2

Source

pub const SRV_COPYCHUNK_WRITE: u32 = 0x0014_80F2

Source

pub const SET_SPARSE: u32 = 0x0009_00C4

Source

pub const DUPLICATE_EXTENTS_TO_FILE: u32 = 0x0009_8344

Source

pub const DUPLICATE_EXTENTS_TO_FILE_EX: u32 = 0x0009_83E8

Source

pub fn from_u32(code: u32) -> Self

Source

pub fn as_u32(self) -> u32

Trait Implementations§

Source§

impl Clone for Fsctl

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Fsctl

Source§

impl Debug for Fsctl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Fsctl

Source§

impl PartialEq for Fsctl

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more