Skip to main content

Ingest

Trait Ingest 

Source
pub trait Ingest:
    Send
    + Sync
    + 'static {
    // Required method
    fn put_batch(
        &self,
        kvs: Vec<(Bytes, Bytes)>,
    ) -> impl Future<Output = Result<u64, String>> + Send;
}
Expand description

Ingest write capability.

Required Methods§

Source

fn put_batch( &self, kvs: Vec<(Bytes, Bytes)>, ) -> impl Future<Output = Result<u64, String>> + Send

Persist key-value pairs atomically and return the new global sequence number for this write.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§