Skip to main content

ObjectSink

Trait ObjectSink 

Source
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§

Source

fn put(&self, key: &str, bytes: &[u8]) -> Result<(), DataError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§