pub struct IoctlReq {
pub ctl_code: u32,
pub file_id: FileId,
pub input: Vec<u8>,
pub max_output: u32,
pub is_fsctl: bool,
}Expand description
IOCTL request body (§2.2.31).
Fields§
§ctl_code: u32Control code.
file_id: FileIdTarget handle (may be all-FF for special files).
input: Vec<u8>Raw input buffer.
max_output: u32Bytes the client accepts as output.
is_fsctl: boolTrue when this is a filesystem device request (Flags bit 1 clear).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IoctlReq
impl RefUnwindSafe for IoctlReq
impl Send for IoctlReq
impl Sync for IoctlReq
impl Unpin for IoctlReq
impl UnsafeUnpin for IoctlReq
impl UnwindSafe for IoctlReq
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