Trait kvproto::backup::ExternalStorage[][src]

pub trait ExternalStorage {
    fn restore(
        &mut self,
        ctx: RpcContext<'_>,
        req: ExternalStorageRestoreRequest,
        sink: UnarySink<ExternalStorageRestoreResponse>
    );
fn save(
        &mut self,
        ctx: RpcContext<'_>,
        req: ExternalStorageSaveRequest,
        sink: UnarySink<ExternalStorageSaveResponse>
    ); }

Required methods

fn restore(
    &mut self,
    ctx: RpcContext<'_>,
    req: ExternalStorageRestoreRequest,
    sink: UnarySink<ExternalStorageRestoreResponse>
)
[src]

fn save(
    &mut self,
    ctx: RpcContext<'_>,
    req: ExternalStorageSaveRequest,
    sink: UnarySink<ExternalStorageSaveResponse>
)
[src]

Loading content...

Implementors

Loading content...