pub struct JsonDecoder { /* private fields */ }Implementations§
Source§impl JsonDecoder
impl JsonDecoder
pub fn new(limits: CodecLimits) -> Self
pub fn push(&mut self, chunk: &[u8]) -> Result<(), CodecError>
pub fn finish<T: DeserializeOwned>(self) -> Result<T, CodecError>
Auto Trait Implementations§
impl Freeze for JsonDecoder
impl RefUnwindSafe for JsonDecoder
impl Send for JsonDecoder
impl Sync for JsonDecoder
impl Unpin for JsonDecoder
impl UnsafeUnpin for JsonDecoder
impl UnwindSafe for JsonDecoder
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