pub enum ActivityAction {
Capture,
Idle,
Stop,
}Expand description
What a time-sampled (“plain”) runner should do on a tick — capture only while the print is active, end when it finishes/errors.
Variants§
Capture
The print is active — grab a frame now.
Idle
Not active yet (idle/preparing-to-start while waiting) — skip this tick.
Stop
The print ended (or errored) — stop the runner.
Trait Implementations§
Source§impl Clone for ActivityAction
impl Clone for ActivityAction
Source§fn clone(&self) -> ActivityAction
fn clone(&self) -> ActivityAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActivityAction
impl Debug for ActivityAction
impl Eq for ActivityAction
Source§impl PartialEq for ActivityAction
impl PartialEq for ActivityAction
Source§fn eq(&self, other: &ActivityAction) -> bool
fn eq(&self, other: &ActivityAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActivityAction
Auto Trait Implementations§
impl Freeze for ActivityAction
impl RefUnwindSafe for ActivityAction
impl Send for ActivityAction
impl Sync for ActivityAction
impl Unpin for ActivityAction
impl UnsafeUnpin for ActivityAction
impl UnwindSafe for ActivityAction
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.