pub trait IntoDocumentPath: Send + Sync {
// Required method
fn as_path(&self) -> Option<&'static str>;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl IntoDocumentPath for FieldsBot
impl IntoDocumentPath for FieldsChannel
Available on crate feature
mongodb only.