pub struct RuntimeStateTransitionError {
pub from: RuntimeState,
pub to: RuntimeState,
}Expand description
Error when an invalid runtime state transition is attempted.
Fields§
§from: RuntimeState§to: RuntimeStateTrait Implementations§
Source§impl Clone for RuntimeStateTransitionError
impl Clone for RuntimeStateTransitionError
Source§fn clone(&self) -> RuntimeStateTransitionError
fn clone(&self) -> RuntimeStateTransitionError
Returns a duplicate of the value. Read more
1.0.0 · 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 RuntimeStateTransitionError
impl Debug for RuntimeStateTransitionError
Source§impl Error for RuntimeStateTransitionError
impl Error for RuntimeStateTransitionError
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()
Auto Trait Implementations§
impl Freeze for RuntimeStateTransitionError
impl RefUnwindSafe for RuntimeStateTransitionError
impl Send for RuntimeStateTransitionError
impl Sync for RuntimeStateTransitionError
impl Unpin for RuntimeStateTransitionError
impl UnsafeUnpin for RuntimeStateTransitionError
impl UnwindSafe for RuntimeStateTransitionError
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