Skip to main content

DocGet

Trait DocGet 

Source
pub trait DocGet {
    type Doc: Document;

    // Required method
    fn key(&self) -> DocKey;
}

Required Associated Types§

Required Methods§

Source

fn key(&self) -> DocKey

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§