pub enum DirectoryContentState {
Pending(SystemTime),
Finished,
Success,
Errored(String),
}Expand description
Contains the state of the directory content.
Variants§
Pending(SystemTime)
If we are currently waiting for the loading process on another thread. The value is the timestamp when the loading process started.
Finished
If loading the directory content finished since the last update call. This is only returned once.
Success
If loading the directory content was successful.
Errored(String)
If there was an error loading the directory content. The value contains the error message.
Trait Implementations§
Source§impl Debug for DirectoryContentState
impl Debug for DirectoryContentState
Source§impl PartialEq for DirectoryContentState
impl PartialEq for DirectoryContentState
impl Eq for DirectoryContentState
impl StructuralPartialEq for DirectoryContentState
Auto Trait Implementations§
impl Freeze for DirectoryContentState
impl RefUnwindSafe for DirectoryContentState
impl Send for DirectoryContentState
impl Sync for DirectoryContentState
impl Unpin for DirectoryContentState
impl UnwindSafe for DirectoryContentState
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