Struct kvproto::configpb::ConfigClient[][src]

pub struct ConfigClient { /* fields omitted */ }

Implementations

impl ConfigClient[src]

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

pub fn create_opt(
    &self,
    req: &CreateRequest,
    opt: CallOption
) -> Result<CreateResponse>
[src]

pub fn create(&self, req: &CreateRequest) -> Result<CreateResponse>[src]

pub fn create_async_opt(
    &self,
    req: &CreateRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<CreateResponse>>
[src]

pub fn create_async(
    &self,
    req: &CreateRequest
) -> Result<ClientUnaryReceiver<CreateResponse>>
[src]

pub fn get_all_opt(
    &self,
    req: &GetAllRequest,
    opt: CallOption
) -> Result<GetAllResponse>
[src]

pub fn get_all(&self, req: &GetAllRequest) -> Result<GetAllResponse>[src]

pub fn get_all_async_opt(
    &self,
    req: &GetAllRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<GetAllResponse>>
[src]

pub fn get_all_async(
    &self,
    req: &GetAllRequest
) -> Result<ClientUnaryReceiver<GetAllResponse>>
[src]

pub fn get_opt(&self, req: &GetRequest, opt: CallOption) -> Result<GetResponse>[src]

pub fn get(&self, req: &GetRequest) -> Result<GetResponse>[src]

pub fn get_async_opt(
    &self,
    req: &GetRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<GetResponse>>
[src]

pub fn get_async(
    &self,
    req: &GetRequest
) -> Result<ClientUnaryReceiver<GetResponse>>
[src]

pub fn update_opt(
    &self,
    req: &UpdateRequest,
    opt: CallOption
) -> Result<UpdateResponse>
[src]

pub fn update(&self, req: &UpdateRequest) -> Result<UpdateResponse>[src]

pub fn update_async_opt(
    &self,
    req: &UpdateRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<UpdateResponse>>
[src]

pub fn update_async(
    &self,
    req: &UpdateRequest
) -> Result<ClientUnaryReceiver<UpdateResponse>>
[src]

pub fn delete_opt(
    &self,
    req: &DeleteRequest,
    opt: CallOption
) -> Result<DeleteResponse>
[src]

pub fn delete(&self, req: &DeleteRequest) -> Result<DeleteResponse>[src]

pub fn delete_async_opt(
    &self,
    req: &DeleteRequest,
    opt: CallOption
) -> Result<ClientUnaryReceiver<DeleteResponse>>
[src]

pub fn delete_async(
    &self,
    req: &DeleteRequest
) -> Result<ClientUnaryReceiver<DeleteResponse>>
[src]

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

Trait Implementations

impl Clone for ConfigClient[src]

Auto Trait Implementations

impl !RefUnwindSafe for ConfigClient

impl Send for ConfigClient

impl Sync for ConfigClient

impl Unpin for ConfigClient

impl !UnwindSafe for ConfigClient

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.