Trait DefaultOp

Source
pub trait DefaultOp {
    // Required method
    fn op() -> OpContext<EmptyDB>;
}
Expand description

Trait that allows for a default context to be created.

Required Methods§

Source

fn op() -> OpContext<EmptyDB>

Create a default context.

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§

Source§

impl DefaultOp for OpContext<EmptyDB>