Struct kvproto::import_kvpb::ImportKvClient[][src]

pub struct ImportKvClient { /* fields omitted */ }

Implementations

impl ImportKvClient[src]

pub fn new(channel: Channel) -> Self[src]

pub fn switch_mode_opt(
    &self,
    req: &SwitchModeRequest,
    opt: CallOption
) -> Result<SwitchModeResponse>
[src]

pub fn switch_mode(&self, req: &SwitchModeRequest) -> Result<SwitchModeResponse>[src]

pub fn switch_mode_async_opt(
    &self,
    req: &SwitchModeRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<SwitchModeResponse>>
[src]

pub fn switch_mode_async(
    &self,
    req: &SwitchModeRequest
) -> Result<ClientUnaryReceiver<SwitchModeResponse>>
[src]

pub fn open_engine_opt(
    &self,
    req: &OpenEngineRequest,
    opt: CallOption
) -> Result<OpenEngineResponse>
[src]

pub fn open_engine(&self, req: &OpenEngineRequest) -> Result<OpenEngineResponse>[src]

pub fn open_engine_async_opt(
    &self,
    req: &OpenEngineRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<OpenEngineResponse>>
[src]

pub fn open_engine_async(
    &self,
    req: &OpenEngineRequest
) -> Result<ClientUnaryReceiver<OpenEngineResponse>>
[src]

pub fn write_engine_opt(
    &self,
    opt: CallOption
) -> Result<(ClientCStreamSender<WriteEngineRequest>, ClientCStreamReceiver<WriteEngineResponse>)>
[src]

pub fn write_engine(
    &self
) -> Result<(ClientCStreamSender<WriteEngineRequest>, ClientCStreamReceiver<WriteEngineResponse>)>
[src]

pub fn write_engine_v3_opt(
    &self,
    req: &WriteEngineV3Request,
    opt: CallOption
) -> Result<WriteEngineResponse>
[src]

pub fn write_engine_v3(
    &self,
    req: &WriteEngineV3Request
) -> Result<WriteEngineResponse>
[src]

pub fn write_engine_v3_async_opt(
    &self,
    req: &WriteEngineV3Request,
    opt: CallOption
) -> Result<ClientUnaryReceiver<WriteEngineResponse>>
[src]

pub fn write_engine_v3_async(
    &self,
    req: &WriteEngineV3Request
) -> Result<ClientUnaryReceiver<WriteEngineResponse>>
[src]

pub fn close_engine_opt(
    &self,
    req: &CloseEngineRequest,
    opt: CallOption
) -> Result<CloseEngineResponse>
[src]

pub fn close_engine(
    &self,
    req: &CloseEngineRequest
) -> Result<CloseEngineResponse>
[src]

pub fn close_engine_async_opt(
    &self,
    req: &CloseEngineRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<CloseEngineResponse>>
[src]

pub fn close_engine_async(
    &self,
    req: &CloseEngineRequest
) -> Result<ClientUnaryReceiver<CloseEngineResponse>>
[src]

pub fn import_engine_opt(
    &self,
    req: &ImportEngineRequest,
    opt: CallOption
) -> Result<ImportEngineResponse>
[src]

pub fn import_engine(
    &self,
    req: &ImportEngineRequest
) -> Result<ImportEngineResponse>
[src]

pub fn import_engine_async_opt(
    &self,
    req: &ImportEngineRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<ImportEngineResponse>>
[src]

pub fn import_engine_async(
    &self,
    req: &ImportEngineRequest
) -> Result<ClientUnaryReceiver<ImportEngineResponse>>
[src]

pub fn cleanup_engine_opt(
    &self,
    req: &CleanupEngineRequest,
    opt: CallOption
) -> Result<CleanupEngineResponse>
[src]

pub fn cleanup_engine(
    &self,
    req: &CleanupEngineRequest
) -> Result<CleanupEngineResponse>
[src]

pub fn cleanup_engine_async_opt(
    &self,
    req: &CleanupEngineRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<CleanupEngineResponse>>
[src]

pub fn cleanup_engine_async(
    &self,
    req: &CleanupEngineRequest
) -> Result<ClientUnaryReceiver<CleanupEngineResponse>>
[src]

pub fn compact_cluster_opt(
    &self,
    req: &CompactClusterRequest,
    opt: CallOption
) -> Result<CompactClusterResponse>
[src]

pub fn compact_cluster(
    &self,
    req: &CompactClusterRequest
) -> Result<CompactClusterResponse>
[src]

pub fn compact_cluster_async_opt(
    &self,
    req: &CompactClusterRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<CompactClusterResponse>>
[src]

pub fn compact_cluster_async(
    &self,
    req: &CompactClusterRequest
) -> Result<ClientUnaryReceiver<CompactClusterResponse>>
[src]

pub fn get_version_opt(
    &self,
    req: &GetVersionRequest,
    opt: CallOption
) -> Result<GetVersionResponse>
[src]

pub fn get_version(&self, req: &GetVersionRequest) -> Result<GetVersionResponse>[src]

pub fn get_version_async_opt(
    &self,
    req: &GetVersionRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<GetVersionResponse>>
[src]

pub fn get_version_async(
    &self,
    req: &GetVersionRequest
) -> Result<ClientUnaryReceiver<GetVersionResponse>>
[src]

pub fn get_metrics_opt(
    &self,
    req: &GetMetricsRequest,
    opt: CallOption
) -> Result<GetMetricsResponse>
[src]

pub fn get_metrics(&self, req: &GetMetricsRequest) -> Result<GetMetricsResponse>[src]

pub fn get_metrics_async_opt(
    &self,
    req: &GetMetricsRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
[src]

pub fn get_metrics_async(
    &self,
    req: &GetMetricsRequest
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
[src]

pub fn spawn<F>(&self, f: F) where
    F: Future<Output = ()> + Send + 'static, 
[src]

Trait Implementations

impl Clone for ImportKvClient[src]

Auto Trait Implementations

impl !RefUnwindSafe for ImportKvClient

impl Send for ImportKvClient

impl Sync for ImportKvClient

impl Unpin for ImportKvClient

impl !UnwindSafe for ImportKvClient

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.