pub struct StringByteNopeDecoder;Expand description
Convert strings to byte arrays by unescaping original JSON strings without any additional decoding
Trait Implementations§
Source§impl<'de> StringByteDecoder<'de> for StringByteNopeDecoder
impl<'de> StringByteDecoder<'de> for StringByteNopeDecoder
Source§fn decode_string_to_bytes(de: &mut Deserializer<'de, Self>) -> Result<&'de [u8]>
fn decode_string_to_bytes(de: &mut Deserializer<'de, Self>) -> Result<&'de [u8]>
Should decode bytes from the JSON string after the opening
b'"'
has been consumed and until the closing b'"' is found in the input slice. Read moreAuto Trait Implementations§
impl Freeze for StringByteNopeDecoder
impl RefUnwindSafe for StringByteNopeDecoder
impl Send for StringByteNopeDecoder
impl Sync for StringByteNopeDecoder
impl Unpin for StringByteNopeDecoder
impl UnwindSafe for StringByteNopeDecoder
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