[−][src]Struct grpcio_proto::testing::test_grpc::TestServiceClient
Implementations
impl TestServiceClient[src]
pub fn new(channel: Channel) -> Self[src]
pub fn empty_call_opt(&self, req: &Empty, opt: CallOption) -> Result<Empty>[src]
pub fn empty_call(&self, req: &Empty) -> Result<Empty>[src]
pub fn empty_call_async_opt(
&self,
req: &Empty,
opt: CallOption
) -> Result<ClientUnaryReceiver<Empty>>[src]
&self,
req: &Empty,
opt: CallOption
) -> Result<ClientUnaryReceiver<Empty>>
pub fn empty_call_async(
&self,
req: &Empty
) -> Result<ClientUnaryReceiver<Empty>>[src]
&self,
req: &Empty
) -> Result<ClientUnaryReceiver<Empty>>
pub fn unary_call_opt(
&self,
req: &SimpleRequest,
opt: CallOption
) -> Result<SimpleResponse>[src]
&self,
req: &SimpleRequest,
opt: CallOption
) -> Result<SimpleResponse>
pub fn unary_call(&self, req: &SimpleRequest) -> Result<SimpleResponse>[src]
pub fn unary_call_async_opt(
&self,
req: &SimpleRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<SimpleResponse>>[src]
&self,
req: &SimpleRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<SimpleResponse>>
pub fn unary_call_async(
&self,
req: &SimpleRequest
) -> Result<ClientUnaryReceiver<SimpleResponse>>[src]
&self,
req: &SimpleRequest
) -> Result<ClientUnaryReceiver<SimpleResponse>>
pub fn cacheable_unary_call_opt(
&self,
req: &SimpleRequest,
opt: CallOption
) -> Result<SimpleResponse>[src]
&self,
req: &SimpleRequest,
opt: CallOption
) -> Result<SimpleResponse>
pub fn cacheable_unary_call(
&self,
req: &SimpleRequest
) -> Result<SimpleResponse>[src]
&self,
req: &SimpleRequest
) -> Result<SimpleResponse>
pub fn cacheable_unary_call_async_opt(
&self,
req: &SimpleRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<SimpleResponse>>[src]
&self,
req: &SimpleRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<SimpleResponse>>
pub fn cacheable_unary_call_async(
&self,
req: &SimpleRequest
) -> Result<ClientUnaryReceiver<SimpleResponse>>[src]
&self,
req: &SimpleRequest
) -> Result<ClientUnaryReceiver<SimpleResponse>>
pub fn streaming_output_call_opt(
&self,
req: &StreamingOutputCallRequest,
opt: CallOption
) -> Result<ClientSStreamReceiver<StreamingOutputCallResponse>>[src]
&self,
req: &StreamingOutputCallRequest,
opt: CallOption
) -> Result<ClientSStreamReceiver<StreamingOutputCallResponse>>
pub fn streaming_output_call(
&self,
req: &StreamingOutputCallRequest
) -> Result<ClientSStreamReceiver<StreamingOutputCallResponse>>[src]
&self,
req: &StreamingOutputCallRequest
) -> Result<ClientSStreamReceiver<StreamingOutputCallResponse>>
pub fn streaming_input_call_opt(
&self,
opt: CallOption
) -> Result<(ClientCStreamSender<StreamingInputCallRequest>, ClientCStreamReceiver<StreamingInputCallResponse>)>[src]
&self,
opt: CallOption
) -> Result<(ClientCStreamSender<StreamingInputCallRequest>, ClientCStreamReceiver<StreamingInputCallResponse>)>
pub fn streaming_input_call(
&self
) -> Result<(ClientCStreamSender<StreamingInputCallRequest>, ClientCStreamReceiver<StreamingInputCallResponse>)>[src]
&self
) -> Result<(ClientCStreamSender<StreamingInputCallRequest>, ClientCStreamReceiver<StreamingInputCallResponse>)>
pub fn full_duplex_call_opt(
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<StreamingOutputCallRequest>, ClientDuplexReceiver<StreamingOutputCallResponse>)>[src]
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<StreamingOutputCallRequest>, ClientDuplexReceiver<StreamingOutputCallResponse>)>
pub fn full_duplex_call(
&self
) -> Result<(ClientDuplexSender<StreamingOutputCallRequest>, ClientDuplexReceiver<StreamingOutputCallResponse>)>[src]
&self
) -> Result<(ClientDuplexSender<StreamingOutputCallRequest>, ClientDuplexReceiver<StreamingOutputCallResponse>)>
pub fn half_duplex_call_opt(
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<StreamingOutputCallRequest>, ClientDuplexReceiver<StreamingOutputCallResponse>)>[src]
&self,
opt: CallOption
) -> Result<(ClientDuplexSender<StreamingOutputCallRequest>, ClientDuplexReceiver<StreamingOutputCallResponse>)>
pub fn half_duplex_call(
&self
) -> Result<(ClientDuplexSender<StreamingOutputCallRequest>, ClientDuplexReceiver<StreamingOutputCallResponse>)>[src]
&self
) -> Result<(ClientDuplexSender<StreamingOutputCallRequest>, ClientDuplexReceiver<StreamingOutputCallResponse>)>
pub fn unimplemented_call_opt(
&self,
req: &Empty,
opt: CallOption
) -> Result<Empty>[src]
&self,
req: &Empty,
opt: CallOption
) -> Result<Empty>
pub fn unimplemented_call(&self, req: &Empty) -> Result<Empty>[src]
pub fn unimplemented_call_async_opt(
&self,
req: &Empty,
opt: CallOption
) -> Result<ClientUnaryReceiver<Empty>>[src]
&self,
req: &Empty,
opt: CallOption
) -> Result<ClientUnaryReceiver<Empty>>
pub fn unimplemented_call_async(
&self,
req: &Empty
) -> Result<ClientUnaryReceiver<Empty>>[src]
&self,
req: &Empty
) -> Result<ClientUnaryReceiver<Empty>>
pub fn spawn<F>(&self, f: F) where
F: Future<Output = ()> + Send + 'static, [src]
F: Future<Output = ()> + Send + 'static,
Trait Implementations
impl Clone for TestServiceClient[src]
pub fn clone(&self) -> TestServiceClient[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for TestServiceClient
impl Send for TestServiceClient
impl Sync for TestServiceClient
impl Unpin for TestServiceClient
impl !UnwindSafe for TestServiceClient
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>,