pub enum ListenerEvent {
StartTest(String),
FinishTest(String, TestResult),
FinishAllTests,
}
Variants§
Implementations§
source§impl ListenerEvent
impl ListenerEvent
pub fn start_test(name: &str) -> ListenerEvent
pub fn finish_test(name: &str, test_result: TestResult) -> ListenerEvent
pub fn finish_all_test() -> ListenerEvent
Trait Implementations§
source§impl Clone for ListenerEvent
impl Clone for ListenerEvent
source§impl Debug for ListenerEvent
impl Debug for ListenerEvent
source§impl Ord for ListenerEvent
impl Ord for ListenerEvent
source§impl PartialEq<ListenerEvent> for ListenerEvent
impl PartialEq<ListenerEvent> for ListenerEvent
source§fn eq(&self, other: &ListenerEvent) -> bool
fn eq(&self, other: &ListenerEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ListenerEvent> for ListenerEvent
impl PartialOrd<ListenerEvent> for ListenerEvent
source§fn partial_cmp(&self, other: &ListenerEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &ListenerEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more