pub struct QueryInfoRequest {
pub info_type: InfoType,
pub info_class: QueryInfoClass,
pub output_buffer_length: u32,
pub additional_info: AdditionalInfo,
pub flags: QueryInfoFlags,
pub file_id: FileId,
pub data: GetInfoRequestData,
}Expand description
Request to query information on a file, named pipe, or underlying volume.
MS-SMB2 2.2.37
Fields§
§info_type: InfoTypeThe type of information queried (file, filesystem, security, or quota).
info_class: QueryInfoClassFor file/filesystem queries, specifies the information class to retrieve.
output_buffer_length: u32Maximum number of bytes the server can send in the response.
additional_info: AdditionalInfoProvides additional information for security or EA queries. For security queries, contains flags indicating which security attributes to return. For EA queries without an EA list, contains index to start enumeration.
flags: QueryInfoFlagsFlags for EA enumeration control (restart scan, return single entry, index specified).
file_id: FileIdIdentifier of the file or named pipe on which to perform the query.
data: GetInfoRequestDataInput data for quota or EA queries. Empty for other information types.
Trait Implementations§
Source§impl BinRead for QueryInfoRequest
impl BinRead for QueryInfoRequest
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: 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 QueryInfoRequest
impl BinWrite for QueryInfoRequest
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: 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 Debug for QueryInfoRequest
impl Debug for QueryInfoRequest
Source§impl From<QueryInfoRequest> for RequestContent
impl From<QueryInfoRequest> for RequestContent
Source§fn from(req: QueryInfoRequest) -> Self
fn from(req: QueryInfoRequest) -> Self
Converts to this type from the input type.
Source§impl PartialEq for QueryInfoRequest
impl PartialEq for QueryInfoRequest
impl Eq for QueryInfoRequest
impl StructuralPartialEq for QueryInfoRequest
Auto Trait Implementations§
impl Freeze for QueryInfoRequest
impl RefUnwindSafe for QueryInfoRequest
impl Send for QueryInfoRequest
impl Sync for QueryInfoRequest
impl Unpin for QueryInfoRequest
impl UnwindSafe for QueryInfoRequest
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