pub trait FileLocationKey {
// Required method
fn reference(&self) -> Result<FileReference, DbError>;
}Expand description
Crate-to-crate access to a stored file’s key, for coven’s owners; not re-exported by the app API.
Required Methods§
Sourcefn reference(&self) -> Result<FileReference, DbError>
fn reference(&self) -> Result<FileReference, DbError>
The uploader, object id and key, which encrypt and decrypt the bytes.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".