pub struct FileTreeRuntimeDrain {
pub responses: Vec<FileTreeWorkerResponse>,
pub remaining: bool,
}Expand description
One bounded UI drain before any results are applied to a store.
§Examples
use ailloli_ui_fs_runtime::FileTreeRuntimeDrain;
let drain = FileTreeRuntimeDrain { responses: Vec::new(), remaining: false };
assert!(drain.responses.is_empty() && !drain.remaining);Fields§
§responses: Vec<FileTreeWorkerResponse>Up to FILE_TREE_UI_DRAIN_BUDGET ordered worker responses.
remaining: boolWhether the UI inbox still held responses after this batch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileTreeRuntimeDrain
impl RefUnwindSafe for FileTreeRuntimeDrain
impl Send for FileTreeRuntimeDrain
impl Sync for FileTreeRuntimeDrain
impl Unpin for FileTreeRuntimeDrain
impl UnwindSafe for FileTreeRuntimeDrain
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