pub trait ObjectWriter {
// Required method
fn write_blob(&self, content: &[u8]) -> Result<String, EngineError>;
}Expand description
Writing objects into the odb. Loose and unreferenced (so gc-able) by
design — the engine creates a ref only where RefWriter says so.
Required Methods§
Sourcefn write_blob(&self, content: &[u8]) -> Result<String, EngineError>
fn write_blob(&self, content: &[u8]) -> Result<String, EngineError>
Write content as a blob and return its oid.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".