pub enum FileTreeEnqueueOutcome {
Enqueued,
Coalesced,
}Expand description
Result of submitting logically deduplicated work to the worker.
§Examples
use ailloli_ui_fs_runtime::FileTreeEnqueueOutcome;
assert_ne!(FileTreeEnqueueOutcome::Enqueued, FileTreeEnqueueOutcome::Coalesced);Variants§
Enqueued
A new request occupied one bounded-queue slot.
Coalesced
An equivalent already-active request covers the requested work.
Trait Implementations§
Source§impl Clone for FileTreeEnqueueOutcome
impl Clone for FileTreeEnqueueOutcome
Source§fn clone(&self) -> FileTreeEnqueueOutcome
fn clone(&self) -> FileTreeEnqueueOutcome
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileTreeEnqueueOutcome
impl Debug for FileTreeEnqueueOutcome
Source§impl PartialEq for FileTreeEnqueueOutcome
impl PartialEq for FileTreeEnqueueOutcome
impl Copy for FileTreeEnqueueOutcome
impl Eq for FileTreeEnqueueOutcome
impl StructuralPartialEq for FileTreeEnqueueOutcome
Auto Trait Implementations§
impl Freeze for FileTreeEnqueueOutcome
impl RefUnwindSafe for FileTreeEnqueueOutcome
impl Send for FileTreeEnqueueOutcome
impl Sync for FileTreeEnqueueOutcome
impl Unpin for FileTreeEnqueueOutcome
impl UnwindSafe for FileTreeEnqueueOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
§fn into_click_action(self) -> ClickAction<A>
fn into_click_action(self) -> ClickAction<A>
Implements the into_click_action helper used by this module.