pub struct ChangeNotifyReq {
pub file_id: FileId,
pub watch_tree: bool,
pub output_len: u32,
pub filter: u32,
}Expand description
CHANGE_NOTIFY request (§2.2.35).
Fields§
§file_id: FileIdWatched directory handle.
watch_tree: boolWatch the whole subtree rather than just the directory.
output_len: u32Maximum bytes of FILE_NOTIFY_INFORMATION the client will accept.
filter: u32Completion filter selecting which changes fire (notify_filter).
Implementations§
Source§impl ChangeNotifyReq
impl ChangeNotifyReq
Sourcepub fn parse(frame: &[u8]) -> Option<ChangeNotifyReq>
pub fn parse(frame: &[u8]) -> Option<ChangeNotifyReq>
Parse from the complete frame.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChangeNotifyReq
impl RefUnwindSafe for ChangeNotifyReq
impl Send for ChangeNotifyReq
impl Sync for ChangeNotifyReq
impl Unpin for ChangeNotifyReq
impl UnsafeUnpin for ChangeNotifyReq
impl UnwindSafe for ChangeNotifyReq
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