pub enum TestEvent {
Suite {
event: String,
test_count: Option<u32>,
passed: Option<u32>,
failed: Option<u32>,
ignored: Option<u32>,
measured: Option<u32>,
filtered_out: Option<u32>,
exec_time: Option<f64>,
},
Test {
event: String,
name: String,
stdout: Option<String>,
exec_time: Option<f64>,
},
}Expand description
Cargo test JSON event types
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TestEvent
impl<'de> Deserialize<'de> for TestEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TestEvent
impl RefUnwindSafe for TestEvent
impl Send for TestEvent
impl Sync for TestEvent
impl Unpin for TestEvent
impl UnsafeUnpin for TestEvent
impl UnwindSafe for TestEvent
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