pub struct ReconnectServiceClient {
pub client: Client,
}Fields§
§client: ClientImplementations§
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)
Trait Implementations§
Source§impl Clone for ReconnectServiceClient
impl Clone for ReconnectServiceClient
Source§fn clone(&self) -> ReconnectServiceClient
fn clone(&self) -> ReconnectServiceClient
Returns a duplicate 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 Freeze for ReconnectServiceClient
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