pub struct QueryInfoReq {
pub info_type: u8,
pub class: u8,
pub output_len: u32,
pub additional: u32,
pub file_id: FileId,
pub input: Vec<u8>,
}Expand description
QUERY_INFO request body (§2.2.37).
Fields§
§info_type: u8InfoType byte.
class: u8FileInformationClass / FsInformationClass.
output_len: u32Maximum bytes the client accepts in the output buffer.
additional: u32AdditionalInformation (SECURITY_INFORMATION mask for SECURITY queries).
file_id: FileIdTarget handle (FILE info type only).
input: Vec<u8>Raw input buffer (rename source path etc.), may be empty.
Implementations§
Source§impl QueryInfoReq
impl QueryInfoReq
Sourcepub fn parse(frame: &[u8]) -> Option<QueryInfoReq>
pub fn parse(frame: &[u8]) -> Option<QueryInfoReq>
Parse from the complete frame.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryInfoReq
impl RefUnwindSafe for QueryInfoReq
impl Send for QueryInfoReq
impl Sync for QueryInfoReq
impl Unpin for QueryInfoReq
impl UnsafeUnpin for QueryInfoReq
impl UnwindSafe for QueryInfoReq
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