Struct google_cognitive_apis::errors::Error
source · [−]Fields
message: String
code: Option<String>
Implementations
Trait Implementations
sourceimpl From<DecodeError> for Error
impl From<DecodeError> for Error
sourcefn from(error: ProstDecodeError) -> Error
fn from(error: ProstDecodeError) -> Error
Converts to this type from the input type.
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(error: GAuthError) -> Error
fn from(error: GAuthError) -> Error
Converts to this type from the input type.
sourceimpl From<InvalidMetadataValue> for Error
impl From<InvalidMetadataValue> for Error
sourcefn from(error: InvalidMetadataValue) -> Error
fn from(error: InvalidMetadataValue) -> Error
Converts to this type from the input type.
sourceimpl From<SendError<StreamingDetectIntentRequest>> for Error
impl From<SendError<StreamingDetectIntentRequest>> for Error
sourcefn from(error: SendError<StreamingDetectIntentRequest>) -> Error
fn from(error: SendError<StreamingDetectIntentRequest>) -> Error
Converts to this type from the input type.
sourceimpl From<SendError<StreamingDetectIntentResponse>> for Error
impl From<SendError<StreamingDetectIntentResponse>> for Error
sourcefn from(error: SendError<StreamingDetectIntentResponse>) -> Error
fn from(error: SendError<StreamingDetectIntentResponse>) -> Error
Converts to this type from the input type.
sourceimpl From<SendError<StreamingRecognizeRequest>> for Error
impl From<SendError<StreamingRecognizeRequest>> for Error
sourcefn from(error: SendError<StreamingRecognizeRequest>) -> Error
fn from(error: SendError<StreamingRecognizeRequest>) -> Error
Converts to this type from the input type.
sourceimpl From<SendError<StreamingRecognizeRequest>> for Error
impl From<SendError<StreamingRecognizeRequest>> for Error
sourcefn from(error: SendError<StreamingRecognizeRequestBeta>) -> Error
fn from(error: SendError<StreamingRecognizeRequestBeta>) -> Error
Converts to this type from the input type.
sourceimpl From<SendError<StreamingRecognizeResponse>> for Error
impl From<SendError<StreamingRecognizeResponse>> for Error
sourcefn from(error: SendError<StreamingRecognizeResponse>) -> Error
fn from(error: SendError<StreamingRecognizeResponse>) -> Error
Converts to this type from the input type.
sourceimpl From<SendError<StreamingRecognizeResponse>> for Error
impl From<SendError<StreamingRecognizeResponse>> for Error
sourcefn from(error: SendError<StreamingRecognizeResponseBeta>) -> Error
fn from(error: SendError<StreamingRecognizeResponseBeta>) -> Error
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request