pub enum GrpcPayloadKind {
Contract(GrpcContractMeta),
Operation(GrpcOperationMeta),
Status(GrpcStatusMeta),
Error(GrpcErrorMeta),
Metadata(GrpcMetadataMeta),
}Expand description
Decoded gRPC payload oneof arm.
Variants§
Contract(GrpcContractMeta)
Contract-level metadata.
Operation(GrpcOperationMeta)
Operation invocation metadata.
Status(GrpcStatusMeta)
Success status metadata.
Error(GrpcErrorMeta)
Error metadata.
Metadata(GrpcMetadataMeta)
Metadata key.
Trait Implementations§
Source§impl Clone for GrpcPayloadKind
impl Clone for GrpcPayloadKind
Source§fn clone(&self) -> GrpcPayloadKind
fn clone(&self) -> GrpcPayloadKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GrpcPayloadKind
impl Debug for GrpcPayloadKind
Source§impl PartialEq for GrpcPayloadKind
impl PartialEq for GrpcPayloadKind
Source§fn eq(&self, other: &GrpcPayloadKind) -> bool
fn eq(&self, other: &GrpcPayloadKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GrpcPayloadKind
Auto Trait Implementations§
impl Freeze for GrpcPayloadKind
impl RefUnwindSafe for GrpcPayloadKind
impl Send for GrpcPayloadKind
impl Sync for GrpcPayloadKind
impl Unpin for GrpcPayloadKind
impl UnsafeUnpin for GrpcPayloadKind
impl UnwindSafe for GrpcPayloadKind
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