pub enum TestingError {
FuzzInputExhausted,
FuzzDeadlock(&'static str),
FuzzEventRejected(&'static str),
FuzzInputUnavailable,
FuzzInputLockPoisoned,
InvalidTimingConstraint,
InvalidSlack,
InvalidFdrConfig(FdrConfigError),
InvalidFaultModel,
SchedulabilityViolation(SchedulabilityViolationDetail),
InvariantViolated,
}Expand description
Testing error types
Variants§
FuzzInputExhausted
FuzzDeadlock(&'static str)
FuzzEventRejected(&'static str)
FuzzInputLockPoisoned
InvalidTimingConstraint
InvalidSlack
InvalidFdrConfig(FdrConfigError)
InvalidFaultModel
SchedulabilityViolation(SchedulabilityViolationDetail)
InvariantViolated
Trait Implementations§
Source§impl Debug for TestingError
impl Debug for TestingError
Source§impl Display for TestingError
impl Display for TestingError
Source§impl Error for TestingError
impl Error for TestingError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<FuzzError> for TestingError
impl From<FuzzError> for TestingError
Source§impl<T> From<PoisonError<T>> for TestingError
Available on crate feature std only.
impl<T> From<PoisonError<T>> for TestingError
Available on crate feature
std only.Source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl From<TestingError> for TightBeamError
Available on crate feature testing only.
impl From<TestingError> for TightBeamError
Available on crate feature
testing only.Source§fn from(err: TestingError) -> Self
fn from(err: TestingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TestingError
impl RefUnwindSafe for TestingError
impl Send for TestingError
impl Sync for TestingError
impl Unpin for TestingError
impl UnsafeUnpin for TestingError
impl UnwindSafe for TestingError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> InjectedError for T
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