Struct rex::StateMachineError
source · pub struct StateMachineError;Trait Implementations§
source§impl Debug for StateMachineError
impl Debug for StateMachineError
source§impl Display for StateMachineError
impl Display for StateMachineError
source§impl Error for StateMachineError
impl Error for StateMachineError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 Reportable for StateMachineError
impl Reportable for StateMachineError
fn report<C: Context>(ctx: C) -> Report<Self>
fn attach<A>(value: A) -> Report<Self>where
A: Display,
fn attach_debug<A>(value: A) -> Report<Self>where
A: Debug,
fn with_kv<K, V>(key: K, value: V) -> Report<Self>
fn with_kv_debug<K, V>(key: K, value: V) -> Report<Self>
fn report_with_kv<K, V, C: Context>(ctx: C, key: K, value: V) -> Report<Self>
fn report_inner<C>(err: impl ToReport<C>) -> Report<Self>where
C: Context,
fn with_field_status<S>(name: &'static str, status: S) -> Report<Self>
fn value() -> Self
fn expected_actual<A>(expected: A, actual: A) -> Report<Self>where
A: Display,
fn with_variant<A>(value: A) -> Report<Self>where
A: Display,
fn with_variant_debug<A>(value: A) -> Report<Self>where
A: Debug,
fn with_type<A>() -> Report<Self>
Auto Trait Implementations§
impl RefUnwindSafe for StateMachineError
impl Send for StateMachineError
impl Sync for StateMachineError
impl Unpin for StateMachineError
impl UnwindSafe for StateMachineError
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