Trait kvproto::enginepb_grpc::Engine[][src]

pub trait Engine {
    fn apply_command_batch(
        &mut self,
        ctx: RpcContext<'_>,
        stream: RequestStream<CommandRequestBatch>,
        sink: DuplexSink<CommandResponseBatch>
    );
fn apply_snapshot(
        &mut self,
        ctx: RpcContext<'_>,
        stream: RequestStream<SnapshotRequest>,
        sink: ClientStreamingSink<SnapshotDone>
    ); }

Required methods

fn apply_command_batch(
    &mut self,
    ctx: RpcContext<'_>,
    stream: RequestStream<CommandRequestBatch>,
    sink: DuplexSink<CommandResponseBatch>
)
[src]

fn apply_snapshot(
    &mut self,
    ctx: RpcContext<'_>,
    stream: RequestStream<SnapshotRequest>,
    sink: ClientStreamingSink<SnapshotDone>
)
[src]

Loading content...

Implementors

Loading content...