pub trait PerformRead<A: ReadAction> {
// Required method
fn read(
&self,
args: &A::Arguments,
) -> impl Future<Output = Result<A::Response>>;
}Expand description
Trait indicating that a DataLayer can perform ReadAction A.
Required Methods§
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.
Implementors§
impl<R, A> PerformRead<A> for InMemoryDataLayer
Single PerformRead impl for InMemoryDataLayer that delegates to
InMemoryPerformRead::execute.