Struct tokio_serde::formats::Json
source · pub struct Json<Item, SinkItem> { /* private fields */ }
Available on crate feature
json
only.Expand description
JSON codec using serde_json crate.
Trait Implementations§
source§impl<Item, SinkItem> Deserializer<Item> for Json<Item, SinkItem>where
for<'a> Item: Deserialize<'a>,
impl<Item, SinkItem> Deserializer<Item> for Json<Item, SinkItem>where
for<'a> Item: Deserialize<'a>,
Auto Trait Implementations§
impl<Item, SinkItem> RefUnwindSafe for Json<Item, SinkItem>where
Item: RefUnwindSafe,
SinkItem: RefUnwindSafe,
impl<Item, SinkItem> Send for Json<Item, SinkItem>
impl<Item, SinkItem> Sync for Json<Item, SinkItem>
impl<Item, SinkItem> Unpin for Json<Item, SinkItem>
impl<Item, SinkItem> UnwindSafe for Json<Item, SinkItem>where
Item: UnwindSafe,
SinkItem: 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