[−][src]Struct tensorflow_serving_client::prediction_service_grpc::PredictionServiceClient
Implementations
impl PredictionServiceClient
[src]
pub fn new(channel: Channel) -> Self
[src]
pub fn classify_opt(
&self,
req: &ClassificationRequest,
opt: CallOption
) -> Result<ClassificationResponse>
[src]
&self,
req: &ClassificationRequest,
opt: CallOption
) -> Result<ClassificationResponse>
pub fn classify(
&self,
req: &ClassificationRequest
) -> Result<ClassificationResponse>
[src]
&self,
req: &ClassificationRequest
) -> Result<ClassificationResponse>
pub fn classify_async_opt(
&self,
req: &ClassificationRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ClassificationResponse>>
[src]
&self,
req: &ClassificationRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<ClassificationResponse>>
pub fn classify_async(
&self,
req: &ClassificationRequest
) -> Result<ClientUnaryReceiver<ClassificationResponse>>
[src]
&self,
req: &ClassificationRequest
) -> Result<ClientUnaryReceiver<ClassificationResponse>>
pub fn regress_opt(
&self,
req: &RegressionRequest,
opt: CallOption
) -> Result<RegressionResponse>
[src]
&self,
req: &RegressionRequest,
opt: CallOption
) -> Result<RegressionResponse>
pub fn regress(&self, req: &RegressionRequest) -> Result<RegressionResponse>
[src]
pub fn regress_async_opt(
&self,
req: &RegressionRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RegressionResponse>>
[src]
&self,
req: &RegressionRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<RegressionResponse>>
pub fn regress_async(
&self,
req: &RegressionRequest
) -> Result<ClientUnaryReceiver<RegressionResponse>>
[src]
&self,
req: &RegressionRequest
) -> Result<ClientUnaryReceiver<RegressionResponse>>
pub fn predict_opt(
&self,
req: &PredictRequest,
opt: CallOption
) -> Result<PredictResponse>
[src]
&self,
req: &PredictRequest,
opt: CallOption
) -> Result<PredictResponse>
pub fn predict(&self, req: &PredictRequest) -> Result<PredictResponse>
[src]
pub fn predict_async_opt(
&self,
req: &PredictRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<PredictResponse>>
[src]
&self,
req: &PredictRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<PredictResponse>>
pub fn predict_async(
&self,
req: &PredictRequest
) -> Result<ClientUnaryReceiver<PredictResponse>>
[src]
&self,
req: &PredictRequest
) -> Result<ClientUnaryReceiver<PredictResponse>>
pub fn multi_inference_opt(
&self,
req: &MultiInferenceRequest,
opt: CallOption
) -> Result<MultiInferenceResponse>
[src]
&self,
req: &MultiInferenceRequest,
opt: CallOption
) -> Result<MultiInferenceResponse>
pub fn multi_inference(
&self,
req: &MultiInferenceRequest
) -> Result<MultiInferenceResponse>
[src]
&self,
req: &MultiInferenceRequest
) -> Result<MultiInferenceResponse>
pub fn multi_inference_async_opt(
&self,
req: &MultiInferenceRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<MultiInferenceResponse>>
[src]
&self,
req: &MultiInferenceRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<MultiInferenceResponse>>
pub fn multi_inference_async(
&self,
req: &MultiInferenceRequest
) -> Result<ClientUnaryReceiver<MultiInferenceResponse>>
[src]
&self,
req: &MultiInferenceRequest
) -> Result<ClientUnaryReceiver<MultiInferenceResponse>>
pub fn get_model_metadata_opt(
&self,
req: &GetModelMetadataRequest,
opt: CallOption
) -> Result<GetModelMetadataResponse>
[src]
&self,
req: &GetModelMetadataRequest,
opt: CallOption
) -> Result<GetModelMetadataResponse>
pub fn get_model_metadata(
&self,
req: &GetModelMetadataRequest
) -> Result<GetModelMetadataResponse>
[src]
&self,
req: &GetModelMetadataRequest
) -> Result<GetModelMetadataResponse>
pub fn get_model_metadata_async_opt(
&self,
req: &GetModelMetadataRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetModelMetadataResponse>>
[src]
&self,
req: &GetModelMetadataRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<GetModelMetadataResponse>>
pub fn get_model_metadata_async(
&self,
req: &GetModelMetadataRequest
) -> Result<ClientUnaryReceiver<GetModelMetadataResponse>>
[src]
&self,
req: &GetModelMetadataRequest
) -> Result<ClientUnaryReceiver<GetModelMetadataResponse>>
pub fn spawn<F>(&self, f: F) where
F: Future<Output = ()> + Send + 'static,
[src]
F: Future<Output = ()> + Send + 'static,
Trait Implementations
impl Clone for PredictionServiceClient
[src]
fn clone(&self) -> PredictionServiceClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for PredictionServiceClient
impl Send for PredictionServiceClient
impl Sync for PredictionServiceClient
impl Unpin for PredictionServiceClient
impl !UnwindSafe for PredictionServiceClient
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,