pub struct GrpcResponse {
pub metadata_map: GrpcMetadataMap,
pub extensions: GrpcExtensions,
pub message: GrpcMessage,
}Fields§
§metadata_map: GrpcMetadataMap§extensions: GrpcExtensions§message: GrpcMessageImplementations§
Source§impl GrpcResponse
impl GrpcResponse
pub async fn unzip_parts( responses: Destinations<Response<Value>>, ) -> Result<Destinations<(MetadataMap, Value, Extensions)>, GrpcEvaluateError>
Trait Implementations§
Source§impl Acceptable<(MetadataMap, Value, Extensions)> for GrpcResponse
impl Acceptable<(MetadataMap, Value, Extensions)> for GrpcResponse
type Message = GrpcEvaluateError
fn accept( &self, parts: &Destinations<(MetadataMap, Value, Extensions)>, msg: &mut Messages<Self::Message>, ) -> bool
fn sub_accept<U, A, F>(
acceptable: &A,
dest: &Destinations<U>,
msg: &mut Messages<Self::Message>,
convert: F,
) -> boolwhere
A: Acceptable<U>,
F: Fn(<A as Acceptable<U>>::Message) -> Self::Message,
fn assault_or_compare<F>(d: &Destinations<T>, f: F) -> bool
fn validate_all<F>(d: &Destinations<T>, f: F) -> bool
fn compare_all(status: &Destinations<T>) -> boolwhere
T: PartialEq,
Source§impl Clone for GrpcResponse
impl Clone for GrpcResponse
Source§fn clone(&self) -> GrpcResponse
fn clone(&self) -> GrpcResponse
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 moreSource§impl Debug for GrpcResponse
impl Debug for GrpcResponse
Source§impl Default for GrpcResponse
impl Default for GrpcResponse
Source§fn default() -> GrpcResponse
fn default() -> GrpcResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrpcResponse
impl<'de> Deserialize<'de> for GrpcResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Evaluate<Response<Value>> for GrpcResponse
impl Evaluate<Response<Value>> for GrpcResponse
Source§impl PartialEq for GrpcResponse
impl PartialEq for GrpcResponse
Source§impl Serialize for GrpcResponse
impl Serialize for GrpcResponse
impl Eq for GrpcResponse
impl StructuralPartialEq for GrpcResponse
Auto Trait Implementations§
impl Freeze for GrpcResponse
impl RefUnwindSafe for GrpcResponse
impl Send for GrpcResponse
impl Sync for GrpcResponse
impl Unpin for GrpcResponse
impl UnwindSafe for GrpcResponse
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].