pub struct StringByteHexDecoder;Expand description
Convert strings to byte arrays by decoding HEX-encoded strings
Trait Implementations§
Source§impl<'de> StringByteDecoder<'de> for StringByteHexDecoder
impl<'de> StringByteDecoder<'de> for StringByteHexDecoder
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 StringByteHexDecoder
impl RefUnwindSafe for StringByteHexDecoder
impl Send for StringByteHexDecoder
impl Sync for StringByteHexDecoder
impl Unpin for StringByteHexDecoder
impl UnwindSafe for StringByteHexDecoder
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