Struct grpcio_health::proto::HealthClient [−][src]
pub struct HealthClient { /* fields omitted */ }
Implementations
impl HealthClient
[src]
impl HealthClient
[src]pub fn new(channel: Channel) -> Self
[src]
pub fn check_opt(
&self,
req: &HealthCheckRequest,
opt: CallOption
) -> Result<HealthCheckResponse>
[src]
&self,
req: &HealthCheckRequest,
opt: CallOption
) -> Result<HealthCheckResponse>
pub fn check(&self, req: &HealthCheckRequest) -> Result<HealthCheckResponse>
[src]
pub fn check_async_opt(
&self,
req: &HealthCheckRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<HealthCheckResponse>>
[src]
&self,
req: &HealthCheckRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<HealthCheckResponse>>
pub fn check_async(
&self,
req: &HealthCheckRequest
) -> Result<ClientUnaryReceiver<HealthCheckResponse>>
[src]
&self,
req: &HealthCheckRequest
) -> Result<ClientUnaryReceiver<HealthCheckResponse>>
pub fn watch_opt(
&self,
req: &HealthCheckRequest,
opt: CallOption
) -> Result<ClientSStreamReceiver<HealthCheckResponse>>
[src]
&self,
req: &HealthCheckRequest,
opt: CallOption
) -> Result<ClientSStreamReceiver<HealthCheckResponse>>
pub fn watch(
&self,
req: &HealthCheckRequest
) -> Result<ClientSStreamReceiver<HealthCheckResponse>>
[src]
&self,
req: &HealthCheckRequest
) -> Result<ClientSStreamReceiver<HealthCheckResponse>>
pub fn spawn<F>(&self, f: F) where
F: Future<Output = ()> + Send + 'static,
[src]
F: Future<Output = ()> + Send + 'static,
Trait Implementations
impl Clone for HealthClient
[src]
impl Clone for HealthClient
[src]fn clone(&self) -> HealthClient
[src]
fn clone(&self) -> HealthClient
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for HealthClient
impl Send for HealthClient
impl Sync for HealthClient
impl Unpin for HealthClient
impl !UnwindSafe for HealthClient
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more