pub enum CaptureAction {
Continue,
Stop,
Capture {
frame_no: u64,
layer: i64,
},
}Expand description
What the caller should do for one observed status snapshot.
Variants§
Continue
Keep watching; nothing to do this tick.
Stop
The watched print reached a terminal/abnormal state (or, without
wait, was never active) — end the capture.
Capture
A new layer crossed the every filter — grab frame frame_no (1-based).
Trait Implementations§
Source§impl Clone for CaptureAction
impl Clone for CaptureAction
Source§fn clone(&self) -> CaptureAction
fn clone(&self) -> CaptureAction
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 CaptureAction
impl Debug for CaptureAction
impl Eq for CaptureAction
Source§impl PartialEq for CaptureAction
impl PartialEq for CaptureAction
Source§fn eq(&self, other: &CaptureAction) -> bool
fn eq(&self, other: &CaptureAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CaptureAction
Auto Trait Implementations§
impl Freeze for CaptureAction
impl RefUnwindSafe for CaptureAction
impl Send for CaptureAction
impl Sync for CaptureAction
impl Unpin for CaptureAction
impl UnsafeUnpin for CaptureAction
impl UnwindSafe for CaptureAction
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.