pub struct ValueDecoder { /* private fields */ }Expand description
Streaming RESP decoder.
Implementations§
Source§impl ValueDecoder
impl ValueDecoder
pub fn new(limits: DecodeLimits) -> Self
pub fn try_decode( &mut self, input: &mut BytesMut, ) -> Result<Option<Value>, RespError>
Trait Implementations§
Source§impl Debug for ValueDecoder
impl Debug for ValueDecoder
Auto Trait Implementations§
impl Freeze for ValueDecoder
impl RefUnwindSafe for ValueDecoder
impl Send for ValueDecoder
impl Sync for ValueDecoder
impl Unpin for ValueDecoder
impl UnwindSafe for ValueDecoder
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