pub struct JsonCodec<Enc, Dec>(/* private fields */);
Implementations§
Trait Implementations§
Source§impl<Enc, Dec> Decoder for JsonCodec<Enc, Dec>where
for<'de> Dec: Deserialize<'de> + 'static,
impl<Enc, Dec> Decoder for JsonCodec<Enc, Dec>where
for<'de> Dec: Deserialize<'de> + 'static,
Auto Trait Implementations§
impl<Enc, Dec> Freeze for JsonCodec<Enc, Dec>
impl<Enc, Dec> RefUnwindSafe for JsonCodec<Enc, Dec>where
Enc: RefUnwindSafe,
Dec: RefUnwindSafe,
impl<Enc, Dec> Send for JsonCodec<Enc, Dec>
impl<Enc, Dec> Sync for JsonCodec<Enc, Dec>
impl<Enc, Dec> Unpin for JsonCodec<Enc, Dec>
impl<Enc, Dec> UnwindSafe for JsonCodec<Enc, Dec>where
Enc: UnwindSafe,
Dec: 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