pub struct GrpcFrame {
pub compressed: bool,
pub payload: Vec<u8>,
pub decoded_fields: Option<Vec<ProtoField>>,
}Expand description
A decoded gRPC frame.
Fields§
§compressed: boolWhether the frame is compressed.
payload: Vec<u8>The raw payload bytes.
decoded_fields: Option<Vec<ProtoField>>Decoded protobuf fields (if decoding succeeded).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GrpcFrame
impl RefUnwindSafe for GrpcFrame
impl Send for GrpcFrame
impl Sync for GrpcFrame
impl Unpin for GrpcFrame
impl UnsafeUnpin for GrpcFrame
impl UnwindSafe for GrpcFrame
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> 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::Request