pub struct HexUpper;Expand description
Hexadecimal with uppercase digits.
Lowercase and uppercase digits are accepted when decoding.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HexUpper
impl RefUnwindSafe for HexUpper
impl Send for HexUpper
impl Sync for HexUpper
impl Unpin for HexUpper
impl UnsafeUnpin for HexUpper
impl UnwindSafe for HexUpper
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
impl<F> BytesFallbackFormat for Fwhere
F: BytesFallbackFormatImpl,
Source§impl<'de, 'c, E> DeserializeAs<'de, Cow<'c, [u8]>> for Ewhere
E: BytesEncoding,
impl<'de, 'c, E> DeserializeAs<'de, Cow<'c, [u8]>> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into_as<'a>(
out: &'a mut Option<Cow<'c, [u8]>>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into_as<'a>( out: &'a mut Option<Cow<'c, [u8]>>, state: &mut State, ) -> SinkHandle<'a, 'de>
Creates a sink that deserializes the value into the given slot. Read more
Source§fn initial_value_as() -> Option<T>
fn initial_value_as() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update_as<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update_as<'out>( value: &'out mut T, state: &mut State, ) -> SinkHandle<'out, 'de>
Creates a sink that updates an existing value. Read more
Source§impl<'de, E> DeserializeAs<'de, Vec<u8>> for Ewhere
E: BytesEncoding,
impl<'de, E> DeserializeAs<'de, Vec<u8>> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into_as<'a>(
out: &'a mut Option<Vec<u8>>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into_as<'a>( out: &'a mut Option<Vec<u8>>, state: &mut State, ) -> SinkHandle<'a, 'de>
Creates a sink that deserializes the value into the given slot. Read more
Source§fn initial_value_as() -> Option<T>
fn initial_value_as() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update_as<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update_as<'out>( value: &'out mut T, state: &mut State, ) -> SinkHandle<'out, 'de>
Creates a sink that updates an existing value. Read more
Source§impl<'de, const N: usize, E> DeserializeAs<'de, [u8; N]> for Ewhere
E: BytesEncoding,
impl<'de, const N: usize, E> DeserializeAs<'de, [u8; N]> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into_as<'a>(
out: &'a mut Option<[u8; N]>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into_as<'a>( out: &'a mut Option<[u8; N]>, state: &mut State, ) -> SinkHandle<'a, 'de>
Creates a sink that deserializes the value into the given slot. Read more
Source§fn initial_value_as() -> Option<T>
fn initial_value_as() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update_as<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update_as<'out>( value: &'out mut T, state: &mut State, ) -> SinkHandle<'out, 'de>
Creates a sink that updates an existing value. Read more
Source§impl<'c, E> SerializeAs<Cow<'c, [u8]>> for Ewhere
E: BytesEncoding,
impl<'c, E> SerializeAs<Cow<'c, [u8]>> for Ewhere
E: BytesEncoding,
Source§fn serialize_as<'a>(
value: &'a Cow<'c, [u8]>,
_state: &mut State,
) -> Result<Chunk<'a>, Error>
fn serialize_as<'a>( value: &'a Cow<'c, [u8]>, _state: &mut State, ) -> Result<Chunk<'a>, Error>
Serializes the value. Read more
fn __private_begin_as<'a>( value: &'a Cow<'c, [u8]>, state: &mut State, ) -> Result<Begin<'a>, Error>
Source§fn finish_as(value: &T, state: &mut State) -> Result<(), Error>
fn finish_as(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn is_optional_as(value: &T) -> bool
fn is_optional_as(value: &T) -> bool
Checks if the value represents an optional value. Read more
Source§fn container_shape_as(value: &T) -> ContainerShape
fn container_shape_as(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more
Source§impl<E> SerializeAs<Vec<u8>> for Ewhere
E: BytesEncoding,
impl<E> SerializeAs<Vec<u8>> for Ewhere
E: BytesEncoding,
Source§fn serialize_as<'a>(
value: &'a Vec<u8>,
_state: &mut State,
) -> Result<Chunk<'a>, Error>
fn serialize_as<'a>( value: &'a Vec<u8>, _state: &mut State, ) -> Result<Chunk<'a>, Error>
Serializes the value. Read more
fn __private_begin_as<'a>( value: &'a Vec<u8>, state: &mut State, ) -> Result<Begin<'a>, Error>
Source§fn finish_as(value: &T, state: &mut State) -> Result<(), Error>
fn finish_as(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn is_optional_as(value: &T) -> bool
fn is_optional_as(value: &T) -> bool
Checks if the value represents an optional value. Read more
Source§fn container_shape_as(value: &T) -> ContainerShape
fn container_shape_as(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more
Source§impl<const N: usize, E> SerializeAs<[u8; N]> for Ewhere
E: BytesEncoding,
impl<const N: usize, E> SerializeAs<[u8; N]> for Ewhere
E: BytesEncoding,
Source§fn serialize_as<'a>(
value: &'a [u8; N],
_state: &mut State,
) -> Result<Chunk<'a>, Error>
fn serialize_as<'a>( value: &'a [u8; N], _state: &mut State, ) -> Result<Chunk<'a>, Error>
Serializes the value. Read more
fn __private_begin_as<'a>( value: &'a [u8; N], state: &mut State, ) -> Result<Begin<'a>, Error>
Source§fn finish_as(value: &T, state: &mut State) -> Result<(), Error>
fn finish_as(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn is_optional_as(value: &T) -> bool
fn is_optional_as(value: &T) -> bool
Checks if the value represents an optional value. Read more
Source§fn container_shape_as(value: &T) -> ContainerShape
fn container_shape_as(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more