pub struct NtCreateReq {
pub name_len: usize,
pub root_fid: u32,
pub desired_access: u32,
pub ext_attrs: u32,
pub disposition: u32,
pub create_options: u32,
pub name: String,
}Expand description
Parsed client request ([MS-SMB] §2.2.4.9.1, WC=24).
Fields§
§name_len: usizeName length in bytes (includes the NUL for Unicode names).
root_fid: u32FID of a directory to open relative paths against (0 = share root).
desired_access: u32Desired access mask (generic + specific bits).
ext_attrs: u32Extended file attributes for newly created objects.
disposition: u32Create disposition (SUPERSEDE..OVERWRITE_IF).
create_options: u32Create options (DIRECTORY_FILE, DELETE_ON_CLOSE, …).
name: StringObject name (decoded; empty = open the share root itself).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NtCreateReq
impl RefUnwindSafe for NtCreateReq
impl Send for NtCreateReq
impl Sync for NtCreateReq
impl Unpin for NtCreateReq
impl UnsafeUnpin for NtCreateReq
impl UnwindSafe for NtCreateReq
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