Struct kvproto::import_kvpb::ImportKvClient [−][src]
Implementations
impl ImportKvClient
[src]
pub fn new(channel: Channel) -> Self
[src]
pub fn switch_mode_opt(
&self,
req: &SwitchModeRequest,
opt: CallOption
) -> Result<SwitchModeResponse>
[src]
&self,
req: &SwitchModeRequest,
opt: CallOption
) -> Result<SwitchModeResponse>
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]
&self,
req: &SwitchModeRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<SwitchModeResponse>>
pub fn switch_mode_async(
&self,
req: &SwitchModeRequest
) -> Result<ClientUnaryReceiver<SwitchModeResponse>>
[src]
&self,
req: &SwitchModeRequest
) -> Result<ClientUnaryReceiver<SwitchModeResponse>>
pub fn open_engine_opt(
&self,
req: &OpenEngineRequest,
opt: CallOption
) -> Result<OpenEngineResponse>
[src]
&self,
req: &OpenEngineRequest,
opt: CallOption
) -> Result<OpenEngineResponse>
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]
&self,
req: &OpenEngineRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<OpenEngineResponse>>
pub fn open_engine_async(
&self,
req: &OpenEngineRequest
) -> Result<ClientUnaryReceiver<OpenEngineResponse>>
[src]
&self,
req: &OpenEngineRequest
) -> Result<ClientUnaryReceiver<OpenEngineResponse>>
pub fn write_engine_opt(
&self,
opt: CallOption
) -> Result<(ClientCStreamSender<WriteEngineRequest>, ClientCStreamReceiver<WriteEngineResponse>)>
[src]
&self,
opt: CallOption
) -> Result<(ClientCStreamSender<WriteEngineRequest>, ClientCStreamReceiver<WriteEngineResponse>)>
pub fn write_engine(
&self
) -> Result<(ClientCStreamSender<WriteEngineRequest>, ClientCStreamReceiver<WriteEngineResponse>)>
[src]
&self
) -> Result<(ClientCStreamSender<WriteEngineRequest>, ClientCStreamReceiver<WriteEngineResponse>)>
pub fn write_engine_v3_opt(
&self,
req: &WriteEngineV3Request,
opt: CallOption
) -> Result<WriteEngineResponse>
[src]
&self,
req: &WriteEngineV3Request,
opt: CallOption
) -> Result<WriteEngineResponse>
pub fn write_engine_v3(
&self,
req: &WriteEngineV3Request
) -> Result<WriteEngineResponse>
[src]
&self,
req: &WriteEngineV3Request
) -> Result<WriteEngineResponse>
pub fn write_engine_v3_async_opt(
&self,
req: &WriteEngineV3Request,
opt: CallOption
) -> Result<ClientUnaryReceiver<WriteEngineResponse>>
[src]
&self,
req: &WriteEngineV3Request,
opt: CallOption
) -> Result<ClientUnaryReceiver<WriteEngineResponse>>
pub fn write_engine_v3_async(
&self,
req: &WriteEngineV3Request
) -> Result<ClientUnaryReceiver<WriteEngineResponse>>
[src]
&self,
req: &WriteEngineV3Request
) -> Result<ClientUnaryReceiver<WriteEngineResponse>>
pub fn close_engine_opt(
&self,
req: &CloseEngineRequest,
opt: CallOption
) -> Result<CloseEngineResponse>
[src]
&self,
req: &CloseEngineRequest,
opt: CallOption
) -> Result<CloseEngineResponse>
pub fn close_engine(
&self,
req: &CloseEngineRequest
) -> Result<CloseEngineResponse>
[src]
&self,
req: &CloseEngineRequest
) -> Result<CloseEngineResponse>
pub fn close_engine_async_opt(
&self,
req: &CloseEngineRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<CloseEngineResponse>>
[src]
&self,
req: &CloseEngineRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<CloseEngineResponse>>
pub fn close_engine_async(
&self,
req: &CloseEngineRequest
) -> Result<ClientUnaryReceiver<CloseEngineResponse>>
[src]
&self,
req: &CloseEngineRequest
) -> Result<ClientUnaryReceiver<CloseEngineResponse>>
pub fn import_engine_opt(
&self,
req: &ImportEngineRequest,
opt: CallOption
) -> Result<ImportEngineResponse>
[src]
&self,
req: &ImportEngineRequest,
opt: CallOption
) -> Result<ImportEngineResponse>
pub fn import_engine(
&self,
req: &ImportEngineRequest
) -> Result<ImportEngineResponse>
[src]
&self,
req: &ImportEngineRequest
) -> Result<ImportEngineResponse>
pub fn import_engine_async_opt(
&self,
req: &ImportEngineRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ImportEngineResponse>>
[src]
&self,
req: &ImportEngineRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ImportEngineResponse>>
pub fn import_engine_async(
&self,
req: &ImportEngineRequest
) -> Result<ClientUnaryReceiver<ImportEngineResponse>>
[src]
&self,
req: &ImportEngineRequest
) -> Result<ClientUnaryReceiver<ImportEngineResponse>>
pub fn cleanup_engine_opt(
&self,
req: &CleanupEngineRequest,
opt: CallOption
) -> Result<CleanupEngineResponse>
[src]
&self,
req: &CleanupEngineRequest,
opt: CallOption
) -> Result<CleanupEngineResponse>
pub fn cleanup_engine(
&self,
req: &CleanupEngineRequest
) -> Result<CleanupEngineResponse>
[src]
&self,
req: &CleanupEngineRequest
) -> Result<CleanupEngineResponse>
pub fn cleanup_engine_async_opt(
&self,
req: &CleanupEngineRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<CleanupEngineResponse>>
[src]
&self,
req: &CleanupEngineRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<CleanupEngineResponse>>
pub fn cleanup_engine_async(
&self,
req: &CleanupEngineRequest
) -> Result<ClientUnaryReceiver<CleanupEngineResponse>>
[src]
&self,
req: &CleanupEngineRequest
) -> Result<ClientUnaryReceiver<CleanupEngineResponse>>
pub fn compact_cluster_opt(
&self,
req: &CompactClusterRequest,
opt: CallOption
) -> Result<CompactClusterResponse>
[src]
&self,
req: &CompactClusterRequest,
opt: CallOption
) -> Result<CompactClusterResponse>
pub fn compact_cluster(
&self,
req: &CompactClusterRequest
) -> Result<CompactClusterResponse>
[src]
&self,
req: &CompactClusterRequest
) -> Result<CompactClusterResponse>
pub fn compact_cluster_async_opt(
&self,
req: &CompactClusterRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<CompactClusterResponse>>
[src]
&self,
req: &CompactClusterRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<CompactClusterResponse>>
pub fn compact_cluster_async(
&self,
req: &CompactClusterRequest
) -> Result<ClientUnaryReceiver<CompactClusterResponse>>
[src]
&self,
req: &CompactClusterRequest
) -> Result<ClientUnaryReceiver<CompactClusterResponse>>
pub fn get_version_opt(
&self,
req: &GetVersionRequest,
opt: CallOption
) -> Result<GetVersionResponse>
[src]
&self,
req: &GetVersionRequest,
opt: CallOption
) -> Result<GetVersionResponse>
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]
&self,
req: &GetVersionRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetVersionResponse>>
pub fn get_version_async(
&self,
req: &GetVersionRequest
) -> Result<ClientUnaryReceiver<GetVersionResponse>>
[src]
&self,
req: &GetVersionRequest
) -> Result<ClientUnaryReceiver<GetVersionResponse>>
pub fn get_metrics_opt(
&self,
req: &GetMetricsRequest,
opt: CallOption
) -> Result<GetMetricsResponse>
[src]
&self,
req: &GetMetricsRequest,
opt: CallOption
) -> Result<GetMetricsResponse>
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]
&self,
req: &GetMetricsRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
pub fn get_metrics_async(
&self,
req: &GetMetricsRequest
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
[src]
&self,
req: &GetMetricsRequest
) -> Result<ClientUnaryReceiver<GetMetricsResponse>>
pub fn spawn<F>(&self, f: F) where
F: Future<Output = ()> + Send + 'static,
[src]
F: Future<Output = ()> + Send + 'static,
Trait Implementations
impl Clone for ImportKvClient
[src]
fn clone(&self) -> ImportKvClient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,