pub struct JsonI64ToStringCodec<T, U>(/* private fields */);Available on crate feature
json-codec only.Expand description
A Codec for JSON application/grpc+json that serialize/deserialize
i64 to string.
Trait Implementations§
Source§impl<T, U> Codec for JsonI64ToStringCodec<T, U>
impl<T, U> Codec for JsonI64ToStringCodec<T, U>
Source§const CONTENT_TYPES: &'static [&'static str]
const CONTENT_TYPES: &'static [&'static str]
Content types
Source§fn check_content_type(&self, ct: &str) -> bool
fn check_content_type(&self, ct: &str) -> bool
Returns whether the specified content type is supported
Auto Trait Implementations§
impl<T, U> Freeze for JsonI64ToStringCodec<T, U>
impl<T, U> RefUnwindSafe for JsonI64ToStringCodec<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for JsonI64ToStringCodec<T, U>
impl<T, U> Sync for JsonI64ToStringCodec<T, U>
impl<T, U> Unpin for JsonI64ToStringCodec<T, U>
impl<T, U> UnwindSafe for JsonI64ToStringCodec<T, U>where
T: UnwindSafe,
U: UnwindSafe,
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