pub enum DirectoryStreamState {
Open,
Exhausted,
Failed,
}Expand description
Lifecycle state of a directory enumeration handle.
§Examples
use qubit_fs::directory::DirectoryStreamState;
assert!(matches!(DirectoryStreamState::Open, DirectoryStreamState::Open));Variants§
Open
The stream may still produce entries.
Exhausted
The provider reported the end of enumeration.
Failed
Enumeration stopped because validation or provider I/O failed.
Trait Implementations§
Source§impl Clone for DirectoryStreamState
impl Clone for DirectoryStreamState
impl Copy for DirectoryStreamState
Source§impl Debug for DirectoryStreamState
impl Debug for DirectoryStreamState
impl Eq for DirectoryStreamState
Source§impl PartialEq for DirectoryStreamState
impl PartialEq for DirectoryStreamState
impl StructuralPartialEq for DirectoryStreamState
Auto Trait Implementations§
impl Freeze for DirectoryStreamState
impl RefUnwindSafe for DirectoryStreamState
impl Send for DirectoryStreamState
impl Sync for DirectoryStreamState
impl Unpin for DirectoryStreamState
impl UnsafeUnpin for DirectoryStreamState
impl UnwindSafe for DirectoryStreamState
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