Trait kvproto::configpb_grpc::Config[][src]

pub trait Config {
    fn create(
        &mut self,
        ctx: RpcContext<'_>,
        req: CreateRequest,
        sink: UnarySink<CreateResponse>
    );
fn get_all(
        &mut self,
        ctx: RpcContext<'_>,
        req: GetAllRequest,
        sink: UnarySink<GetAllResponse>
    );
fn get(
        &mut self,
        ctx: RpcContext<'_>,
        req: GetRequest,
        sink: UnarySink<GetResponse>
    );
fn update(
        &mut self,
        ctx: RpcContext<'_>,
        req: UpdateRequest,
        sink: UnarySink<UpdateResponse>
    );
fn delete(
        &mut self,
        ctx: RpcContext<'_>,
        req: DeleteRequest,
        sink: UnarySink<DeleteResponse>
    ); }

Required methods

fn create(
    &mut self,
    ctx: RpcContext<'_>,
    req: CreateRequest,
    sink: UnarySink<CreateResponse>
)
[src]

fn get_all(
    &mut self,
    ctx: RpcContext<'_>,
    req: GetAllRequest,
    sink: UnarySink<GetAllResponse>
)
[src]

fn get(
    &mut self,
    ctx: RpcContext<'_>,
    req: GetRequest,
    sink: UnarySink<GetResponse>
)
[src]

fn update(
    &mut self,
    ctx: RpcContext<'_>,
    req: UpdateRequest,
    sink: UnarySink<UpdateResponse>
)
[src]

fn delete(
    &mut self,
    ctx: RpcContext<'_>,
    req: DeleteRequest,
    sink: UnarySink<DeleteResponse>
)
[src]

Loading content...

Implementors

Loading content...