pub struct QueryInfoRequest {
pub info_type: InfoType,
pub file_info_class: u8,
pub output_buffer_length: u32,
pub additional_information: u32,
pub flags: u32,
pub file_id: FileId,
pub input_buffer: Vec<u8>,
}Expand description
SMB2 QUERY_INFO request (spec section 2.2.37).
Sent by the client to query information about a file, filesystem, security descriptor, or quota.
Fields§
§info_type: InfoTypeThe type of information being queried.
file_info_class: u8The file information class (interpretation depends on info_type).
output_buffer_length: u32Maximum number of output bytes the server may return.
additional_information: u32Additional information flags (for example, security information flags).
flags: u32Query flags.
file_id: FileIdHandle to the file or directory being queried.
input_buffer: Vec<u8>Optional input buffer (for example, for quota queries).
Implementations§
Source§impl QueryInfoRequest
impl QueryInfoRequest
pub const STRUCTURE_SIZE: u16 = 41
Trait Implementations§
Source§impl Clone for QueryInfoRequest
impl Clone for QueryInfoRequest
Source§fn clone(&self) -> QueryInfoRequest
fn clone(&self) -> QueryInfoRequest
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 Debug for QueryInfoRequest
impl Debug for QueryInfoRequest
Source§impl Pack for QueryInfoRequest
impl Pack for QueryInfoRequest
Source§fn pack(&self, cursor: &mut WriteCursor)
fn pack(&self, cursor: &mut WriteCursor)
Write this value into the cursor.
Source§impl PartialEq for QueryInfoRequest
impl PartialEq for QueryInfoRequest
Source§fn eq(&self, other: &QueryInfoRequest) -> bool
fn eq(&self, other: &QueryInfoRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Unpack for QueryInfoRequest
impl Unpack for QueryInfoRequest
Source§fn unpack(cursor: &mut ReadCursor<'_>) -> Result<Self>
fn unpack(cursor: &mut ReadCursor<'_>) -> Result<Self>
Read a value from the cursor, advancing its position.
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 UnsafeUnpin 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