pub trait Documents {
// Required methods
fn get(&self, path: &[String]) -> Option<Document>;
fn get_after(&self, path: &[String]) -> Option<Document>;
}Expand description
The documents get() / exists() read (as they were before the request’s writes) and
getAfter() / existsAfter() read (as they would be after all of them).
Required Methods§
fn get(&self, path: &[String]) -> Option<Document>
fn get_after(&self, path: &[String]) -> Option<Document>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".