pub enum DirectoryIteratorRequest {
GetNext {
responder: DirectoryIteratorGetNextResponder,
},
}
Variants§
GetNext
Reads a collection of variably sized directory entries into a buffer.
The number of entries in a directory may be very large: akin to
calling read multiple times on a file, directories have a seek
offset which is updated on subsequent calls to Enumerate
.
The caller should always use a receiving buffer size as large as the
maximum channel limit.
When the end of iteration is reached, the returned entries
vector
will be empty.
This method does not require any rights, as the rights are checked
in the [Directory.Enumerate
] call.
Fields
§
responder: DirectoryIteratorGetNextResponder
Implementations§
source§impl DirectoryIteratorRequest
impl DirectoryIteratorRequest
pub fn into_get_next(self) -> Option<DirectoryIteratorGetNextResponder>
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 DirectoryIteratorRequest
impl !RefUnwindSafe for DirectoryIteratorRequest
impl Send for DirectoryIteratorRequest
impl Sync for DirectoryIteratorRequest
impl Unpin for DirectoryIteratorRequest
impl !UnwindSafe for DirectoryIteratorRequest
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