pub enum Event<O> {
Started {
item: String,
kind: &'static str,
action: Action,
},
Line {
item: String,
line: String,
},
Ended {
item: String,
outcome: O,
},
}Expand description
What a walk tells as it goes; O: how the caller’s runner says a step ended.
Variants§
Started
A step begins: its item, its kind (Action::kind) and what it does.
Fields
Line
A line of the step’s output.
Ended
The step ended.
Trait Implementations§
impl<O: Eq> Eq for Event<O>
impl<O: PartialEq> StructuralPartialEq for Event<O>
Auto Trait Implementations§
impl<O> Forget for Event<O>
impl<O> Freeze for Event<O>where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
&'static str: Freeze,
PhantomData<Interaction>: Freeze,
O: Freeze,
impl<O> Move for Event<O>
impl<O> RefUnwindSafe for Event<O>where
O: RefUnwindSafe,
impl<O> Send for Event<O>
impl<O> Sync for Event<O>
impl<O> Unpin for Event<O>
impl<O> UnsafeUnpin for Event<O>where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<Interaction>: UnsafeUnpin,
O: UnsafeUnpin,
impl<O> UnwindSafe for Event<O>
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,
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.