pub trait Boot {
type Req;
// Provided methods
async fn finish(
&self,
_req: &Option<Self::Req>,
typ: &str,
old: Document,
new: Document,
_session: Option<&mut ClientSession>,
) { ... }
fn cast(&self, data: Document, _req: &Option<Self::Req>) -> Document { ... }
}Required Associated Types§
Provided Methods§
async fn finish( &self, _req: &Option<Self::Req>, typ: &str, old: Document, new: Document, _session: Option<&mut ClientSession>, )
fn cast(&self, data: Document, _req: &Option<Self::Req>) -> Document
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.