pub enum Workers {
None,
DrainedWhenDrawn,
Bounded,
}Expand description
Work done off the interface thread for a component.
Variants§
None
DrainedWhenDrawn
A producer the application runs (tiles, thumbnails, a source), posting to a queue drained when the component is drawn.
Bounded
A producer the application runs, whose queue stays bounded while the component is not drawn: drained off-draw (on the delivering thread, or at each pass) or capped, what it drops counted where agents see it.
Trait Implementations§
impl Copy for Workers
impl Eq for Workers
impl StructuralPartialEq for Workers
Auto Trait Implementations§
impl Freeze for Workers
impl RefUnwindSafe for Workers
impl Send for Workers
impl Sync for Workers
impl Unpin for Workers
impl UnsafeUnpin for Workers
impl UnwindSafe for Workers
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