pub trait IWorkStore {
type Query;
type Transition;
type Output;
// Required methods
fn work_query(&self, query: Self::Query) -> Self::Output;
fn work_transact(&self, transition: Self::Transition) -> Self::Output;
}Required Associated Types§
Required Methods§
fn work_query(&self, query: Self::Query) -> Self::Output
fn work_transact(&self, transition: Self::Transition) -> Self::Output
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".