pub struct ModelServiceClient { /* private fields */ }
Implementations§
Source§impl ModelServiceClient
impl ModelServiceClient
pub fn new(channel: Channel) -> Self
pub fn get_model_status_opt( &self, req: &GetModelStatusRequest, opt: CallOption, ) -> Result<GetModelStatusResponse>
pub fn get_model_status( &self, req: &GetModelStatusRequest, ) -> Result<GetModelStatusResponse>
pub fn get_model_status_async_opt( &self, req: &GetModelStatusRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<GetModelStatusResponse>>
pub fn get_model_status_async( &self, req: &GetModelStatusRequest, ) -> Result<ClientUnaryReceiver<GetModelStatusResponse>>
pub fn handle_reload_config_request_opt( &self, req: &ReloadConfigRequest, opt: CallOption, ) -> Result<ReloadConfigResponse>
pub fn handle_reload_config_request( &self, req: &ReloadConfigRequest, ) -> Result<ReloadConfigResponse>
pub fn handle_reload_config_request_async_opt( &self, req: &ReloadConfigRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ReloadConfigResponse>>
pub fn handle_reload_config_request_async( &self, req: &ReloadConfigRequest, ) -> Result<ClientUnaryReceiver<ReloadConfigResponse>>
pub fn spawn<F>(&self, f: F)
Trait Implementations§
Source§impl Clone for ModelServiceClient
impl Clone for ModelServiceClient
Source§fn clone(&self) -> ModelServiceClient
fn clone(&self) -> ModelServiceClient
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 Freeze for ModelServiceClient
impl !RefUnwindSafe for ModelServiceClient
impl Send for ModelServiceClient
impl Sync for ModelServiceClient
impl Unpin for ModelServiceClient
impl !UnwindSafe for ModelServiceClient
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