pub struct SuiteEvent {
pub timestamp: Option<i64>,
pub payload: SuiteEventPayload,
}Expand description
Events produced by test suite.
Fields§
§timestamp: Option<i64>§payload: SuiteEventPayloadImplementations§
Source§impl SuiteEvent
impl SuiteEvent
pub fn debug_data<S: Into<String>>( timestamp: Option<i64>, filename: S, socket: Socket, ) -> Self
pub fn case_found(timestamp: Option<i64>, name: String) -> Self
pub fn case_started(timestamp: Option<i64>, name: String) -> Self
pub fn case_stdout<N, L>( timestamp: Option<i64>, name: N, stdout_message: L, ) -> Self
pub fn case_stderr<N, L>( timestamp: Option<i64>, name: N, stderr_message: L, ) -> Self
pub fn case_stopped( timestamp: Option<i64>, name: String, status: CaseStatus, ) -> Self
pub fn case_finished(timestamp: Option<i64>, name: String) -> Self
pub fn suite_stopped(timestamp: Option<i64>, status: SuiteStatus) -> Self
pub fn suite_custom( timestamp: Option<i64>, component: String, filename: String, contents: String, ) -> Self
pub fn suite_log(timestamp: Option<i64>, log_stream: LogStream) -> Self
pub fn test_case_log( timestamp: Option<i64>, name: String, log_stream: LogStream, ) -> Self
Auto Trait Implementations§
impl Freeze for SuiteEvent
impl !RefUnwindSafe for SuiteEvent
impl Send for SuiteEvent
impl !Sync for SuiteEvent
impl Unpin for SuiteEvent
impl !UnwindSafe for SuiteEvent
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more