pub trait ObjectSink {
// Required method
fn put(&self, key: &str, bytes: &[u8]) -> Result<(), DataError>;
}Expand description
Write-side counterpart to ObjectSource. Kept separate so the read path
(and OSS consumers) stay write-free; only the panel rebuild needs this.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".