pub struct Hex<Case = Lower>(/* private fields */)
where
Case: Case;
Expand description
Hex-encoding strategy
Trait Implementations§
§impl<'a, C> ByteDecoder<'a> for Hex<C>where
C: Case,
impl<'a, C> ByteDecoder<'a> for Hex<C>where
C: Case,
§type InitError = DecodeInitError
type InitError = DecodeInitError
Error returned when decoder can’t be created. Read more
§type DecodeError = DecodeError
type DecodeError = DecodeError
Error returned when decoding fails. Read more
§fn from_str(
s: &'a str
) -> Result<<Hex<C> as ByteDecoder<'a>>::Decoder, <Hex<C> as ByteDecoder<'a>>::InitError>
fn from_str( s: &'a str ) -> Result<<Hex<C> as ByteDecoder<'a>>::Decoder, <Hex<C> as ByteDecoder<'a>>::InitError>
Constructs the decoder from string.
Auto Trait Implementations§
impl<Case> Freeze for Hex<Case>
impl<Case> RefUnwindSafe for Hex<Case>where
Case: RefUnwindSafe,
impl<Case> Send for Hex<Case>where
Case: Send,
impl<Case> Sync for Hex<Case>where
Case: Sync,
impl<Case> Unpin for Hex<Case>where
Case: Unpin,
impl<Case> UnwindSafe for Hex<Case>where
Case: 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