pub struct WorkerTestFailure {
pub category: WorkerTestCategory,
pub description: String,
pub expected: String,
pub actual: String,
}Expand description
Worker test failure details
Fields§
§category: WorkerTestCategoryTest category
description: StringFailure description
expected: StringExpected value/state
actual: StringActual value/state
Trait Implementations§
Source§impl Clone for WorkerTestFailure
impl Clone for WorkerTestFailure
Source§fn clone(&self) -> WorkerTestFailure
fn clone(&self) -> WorkerTestFailure
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 WorkerTestFailure
impl Debug for WorkerTestFailure
Auto Trait Implementations§
impl Freeze for WorkerTestFailure
impl RefUnwindSafe for WorkerTestFailure
impl Send for WorkerTestFailure
impl Sync for WorkerTestFailure
impl Unpin for WorkerTestFailure
impl UnsafeUnpin for WorkerTestFailure
impl UnwindSafe for WorkerTestFailure
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<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