pub struct SetInfoReq {
pub info_type: u8,
pub class: u8,
pub additional: u32,
pub file_id: FileId,
pub buffer: Vec<u8>,
}Expand description
SET_INFO request body (§2.2.39).
Fields§
§info_type: u8InfoType byte.
class: u8File/Fs information class.
additional: u32AdditionalInformation (SECURITY_INFORMATION mask for SECURITY sets).
file_id: FileIdTarget handle.
buffer: Vec<u8>Raw info-class payload buffer.
Implementations§
Source§impl SetInfoReq
impl SetInfoReq
Sourcepub fn parse(frame: &[u8]) -> Option<SetInfoReq>
pub fn parse(frame: &[u8]) -> Option<SetInfoReq>
Parse from the complete frame.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetInfoReq
impl RefUnwindSafe for SetInfoReq
impl Send for SetInfoReq
impl Sync for SetInfoReq
impl Unpin for SetInfoReq
impl UnsafeUnpin for SetInfoReq
impl UnwindSafe for SetInfoReq
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