Struct grpcio_proto::testing::test_grpc::ReconnectServiceClient
source · pub struct ReconnectServiceClient {
pub client: Client,
}
Fields§
§client: Client
Implementations§
source§impl ReconnectServiceClient
impl ReconnectServiceClient
pub fn new(channel: Channel) -> Self
pub fn start_opt(&self, req: &ReconnectParams, opt: CallOption) -> Result<Empty>
pub fn start(&self, req: &ReconnectParams) -> Result<Empty>
pub fn start_async_opt( &self, req: &ReconnectParams, opt: CallOption ) -> Result<ClientUnaryReceiver<Empty>>
pub fn start_async( &self, req: &ReconnectParams ) -> Result<ClientUnaryReceiver<Empty>>
pub fn stop_opt(&self, req: &Empty, opt: CallOption) -> Result<ReconnectInfo>
pub fn stop(&self, req: &Empty) -> Result<ReconnectInfo>
pub fn stop_async_opt( &self, req: &Empty, opt: CallOption ) -> Result<ClientUnaryReceiver<ReconnectInfo>>
pub fn stop_async( &self, req: &Empty ) -> Result<ClientUnaryReceiver<ReconnectInfo>>
pub fn spawn<F>(&self, f: F)where F: Future<Output = ()> + Send + 'static,
Trait Implementations§
source§impl Clone for ReconnectServiceClient
impl Clone for ReconnectServiceClient
source§fn clone(&self) -> ReconnectServiceClient
fn clone(&self) -> ReconnectServiceClient
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ReconnectServiceClient
impl Send for ReconnectServiceClient
impl Sync for ReconnectServiceClient
impl Unpin for ReconnectServiceClient
impl !UnwindSafe for ReconnectServiceClient
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more