pub enum DirectoryWatcherRequest {}
Expand description
DirectoryWatcher transmits messages from a filesystem server
about events happening in the filesystem. Clients can register
new watchers using the Directory.Watch
method, where they can
filter which events they want to receive notifications for.
The DirectoryWatcher will send messages of the form:
struct {
uint8 event;
uint8 len;
char name[];
};
Where names are NOT null-terminated. The name is the relative
path to the entry the event is refering to. It will be empty if
the event isn’t referencing a particular entry (e.g. for the
IDLE
event).
Implementations§
Source§impl DirectoryWatcherRequest
impl DirectoryWatcherRequest
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirectoryWatcherRequest
impl RefUnwindSafe for DirectoryWatcherRequest
impl Send for DirectoryWatcherRequest
impl Sync for DirectoryWatcherRequest
impl Unpin for DirectoryWatcherRequest
impl UnwindSafe for DirectoryWatcherRequest
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