Skip to main content

DocumentService

Trait DocumentService 

Source
pub trait DocumentService: DocumentStore {
    // Required method
    fn get_path(&self, id: Uuid, hmac: DocumentHmac) -> PathBuf;
}
Expand description

The server’s DocumentStore, whose documents have paths the garbage worker reports.

Required Methods§

Source

fn get_path(&self, id: Uuid, hmac: DocumentHmac) -> PathBuf

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§