pub struct PayloadCodec;Expand description
Raw payload codec for custom service dispatchers.
Trait Implementations§
Source§impl Codec for PayloadCodec
impl Codec for PayloadCodec
Source§const CONTENT_TYPE: &'static str = "application/grpc"
const CONTENT_TYPE: &'static str = "application/grpc"
HTTP content type identifying this serialization format.
Source§type EncodeItem = Vec<u8>
type EncodeItem = Vec<u8>
Message type accepted by the encoder.
Source§type DecodeItem = Vec<u8>
type DecodeItem = Vec<u8>
Owned message type returned by the decoder.
Auto Trait Implementations§
impl Freeze for PayloadCodec
impl RefUnwindSafe for PayloadCodec
impl Send for PayloadCodec
impl Sync for PayloadCodec
impl Unpin for PayloadCodec
impl UnsafeUnpin for PayloadCodec
impl UnwindSafe for PayloadCodec
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