pub(crate) trait DriverContext<T> {
// Required methods
fn in_place() -> bool;
fn can_advance(entry: &StateEntry<T>) -> bool;
fn is_action_initiable(entry: &StateEntry<T>) -> bool;
fn is_actionable(entry: &StateEntry<T>) -> bool;
fn transition(
&mut self,
entry: &StateEntry<T>,
ac: &mut AatApplyContext<'_>,
) -> Option<()>;
}Required Methods§
fn in_place() -> bool
fn can_advance(entry: &StateEntry<T>) -> bool
fn is_action_initiable(entry: &StateEntry<T>) -> bool
fn is_actionable(entry: &StateEntry<T>) -> bool
fn transition( &mut self, entry: &StateEntry<T>, ac: &mut AatApplyContext<'_>, ) -> Option<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.