pub enum GraphTestResult<K, E>{
Ok(K),
Err(E),
}Expand description
Represents the result of a graph test, which can either be Ok with a value of type K
or Err with a value of type E.
The GraphTestResult enum is used to encapsulate the outcome of testing a graph of actors
within the Steady State framework. It provides a way to represent either a successful test
result or an error encountered during the test.
Variants§
Ok(K)
Represents a successful test result.
This variant contains the value K, which provides details about the successful outcome
of the graph test.
Err(E)
Represents a failed test result.
This variant contains the value E, which provides details about the error encountered
during the graph test.
Trait Implementations§
Auto Trait Implementations§
impl<K, E> Freeze for GraphTestResult<K, E>
impl<K, E> RefUnwindSafe for GraphTestResult<K, E>where
K: RefUnwindSafe,
E: RefUnwindSafe,
impl<K, E> Send for GraphTestResult<K, E>
impl<K, E> Sync for GraphTestResult<K, E>
impl<K, E> Unpin for GraphTestResult<K, E>
impl<K, E> UnwindSafe for GraphTestResult<K, E>where
K: UnwindSafe,
E: UnwindSafe,
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<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