Skip to main content

IWorkStore

Trait IWorkStore 

Source
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§

Source

fn work_query(&self, query: Self::Query) -> Self::Output

Source

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".

Implementors§