pub enum GrpcWebError {
HttpError(Error),
HttpHeaderToStr(ToStrError),
HttpInvalidHeaderName(InvalidHeaderName),
HttpInvalidHeaderValue(InvalidHeaderValue),
TonicStatus(Status),
GlooNet(Error),
Generic(String),
}Variants§
HttpError(Error)
HttpHeaderToStr(ToStrError)
HttpInvalidHeaderName(InvalidHeaderName)
HttpInvalidHeaderValue(InvalidHeaderValue)
TonicStatus(Status)
GlooNet(Error)
Generic(String)
Trait Implementations§
Source§impl Debug for GrpcWebError
impl Debug for GrpcWebError
Source§impl Display for GrpcWebError
impl Display for GrpcWebError
Source§impl Error for GrpcWebError
impl Error for GrpcWebError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for GrpcWebError
impl From<Error> for GrpcWebError
Source§impl From<Error> for GrpcWebError
impl From<Error> for GrpcWebError
Source§impl From<InvalidHeaderName> for GrpcWebError
impl From<InvalidHeaderName> for GrpcWebError
Source§fn from(source: HttpInvalidHeaderName) -> Self
fn from(source: HttpInvalidHeaderName) -> Self
Converts to this type from the input type.
Source§impl From<InvalidHeaderValue> for GrpcWebError
impl From<InvalidHeaderValue> for GrpcWebError
Source§fn from(source: HttpInvalidHeaderValue) -> Self
fn from(source: HttpInvalidHeaderValue) -> Self
Converts to this type from the input type.
Source§impl From<JsValue> for GrpcWebError
impl From<JsValue> for GrpcWebError
Source§impl From<Status> for GrpcWebError
impl From<Status> for GrpcWebError
Source§impl From<ToStrError> for GrpcWebError
impl From<ToStrError> for GrpcWebError
Source§fn from(source: HttpHeaderToStrError) -> Self
fn from(source: HttpHeaderToStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for GrpcWebError
impl !RefUnwindSafe for GrpcWebError
impl Send for GrpcWebError
impl Sync for GrpcWebError
impl Unpin for GrpcWebError
impl !UnwindSafe for GrpcWebError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.