pub struct Base64NoPad;Expand description
Base64 with the standard alphabet without padding.
Decoding is lenient (see adapters documentation).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Base64NoPad
impl RefUnwindSafe for Base64NoPad
impl Send for Base64NoPad
impl Sync for Base64NoPad
impl Unpin for Base64NoPad
impl UnsafeUnpin for Base64NoPad
impl UnwindSafe for Base64NoPad
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, const CAP: usize, E> Deserialize<'de, ArrayVec<u8, CAP>> for Ewhere
E: BytesEncoding,
impl<'de, const CAP: usize, E> Deserialize<'de, ArrayVec<u8, CAP>> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into<'a>(
out: &'a mut Option<ArrayVec<u8, CAP>>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into<'a>( out: &'a mut Option<ArrayVec<u8, CAP>>, state: &mut State, ) -> SinkHandle<'a, 'de>
Creates a sink that deserializes the value into the given slot. Read more
Source§fn expecting() -> Cow<'static, str>
fn expecting() -> Cow<'static, str>
Returns what the value expects, for error messages. Read more
Source§fn deserialize_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'_>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_atom( slot: &mut Slot<T, Self>, atom: Atom<'_>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom into the slot. Read more
Source§fn deserialize_borrowed_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'de>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_borrowed_atom( slot: &mut Slot<T, Self>, atom: Atom<'de>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom that borrows from the data being deserialized
into the slot. Read more
Source§fn describe_type(d: &mut dyn Describe)
fn describe_type(d: &mut dyn Describe)
Describes the Rust shape of the type. Read more
Source§fn initial_value() -> Option<T>
fn initial_value() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update<'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> Deserialize<'de, BString> for Ewhere
E: BytesEncoding,
impl<'de, E> Deserialize<'de, BString> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into<'a>(
out: &'a mut Option<BString>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into<'a>( out: &'a mut Option<BString>, state: &mut State, ) -> SinkHandle<'a, 'de>
Creates a sink that deserializes the value into the given slot. Read more
Source§fn expecting() -> Cow<'static, str>
fn expecting() -> Cow<'static, str>
Returns what the value expects, for error messages. Read more
Source§fn deserialize_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'_>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_atom( slot: &mut Slot<T, Self>, atom: Atom<'_>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom into the slot. Read more
Source§fn deserialize_borrowed_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'de>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_borrowed_atom( slot: &mut Slot<T, Self>, atom: Atom<'de>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom that borrows from the data being deserialized
into the slot. Read more
Source§fn describe_type(d: &mut dyn Describe)
fn describe_type(d: &mut dyn Describe)
Describes the Rust shape of the type. Read more
Source§fn initial_value() -> Option<T>
fn initial_value() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update<'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> Deserialize<'de, Bytes> for Ewhere
E: BytesEncoding,
impl<'de, E> Deserialize<'de, Bytes> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into<'a>(
out: &'a mut Option<Bytes>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into<'a>( out: &'a mut Option<Bytes>, state: &mut State, ) -> SinkHandle<'a, 'de>
Creates a sink that deserializes the value into the given slot. Read more
Source§fn expecting() -> Cow<'static, str>
fn expecting() -> Cow<'static, str>
Returns what the value expects, for error messages. Read more
Source§fn deserialize_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'_>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_atom( slot: &mut Slot<T, Self>, atom: Atom<'_>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom into the slot. Read more
Source§fn deserialize_borrowed_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'de>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_borrowed_atom( slot: &mut Slot<T, Self>, atom: Atom<'de>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom that borrows from the data being deserialized
into the slot. Read more
Source§fn describe_type(d: &mut dyn Describe)
fn describe_type(d: &mut dyn Describe)
Describes the Rust shape of the type. Read more
Source§fn initial_value() -> Option<T>
fn initial_value() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update<'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> Deserialize<'de, BytesMut> for Ewhere
E: BytesEncoding,
impl<'de, E> Deserialize<'de, BytesMut> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into<'a>(
out: &'a mut Option<BytesMut>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into<'a>( out: &'a mut Option<BytesMut>, state: &mut State, ) -> SinkHandle<'a, 'de>
Creates a sink that deserializes the value into the given slot. Read more
Source§fn expecting() -> Cow<'static, str>
fn expecting() -> Cow<'static, str>
Returns what the value expects, for error messages. Read more
Source§fn deserialize_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'_>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_atom( slot: &mut Slot<T, Self>, atom: Atom<'_>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom into the slot. Read more
Source§fn deserialize_borrowed_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'de>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_borrowed_atom( slot: &mut Slot<T, Self>, atom: Atom<'de>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom that borrows from the data being deserialized
into the slot. Read more
Source§fn describe_type(d: &mut dyn Describe)
fn describe_type(d: &mut dyn Describe)
Describes the Rust shape of the type. Read more
Source§fn initial_value() -> Option<T>
fn initial_value() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update<'out>( value: &'out mut T, state: &mut State, ) -> SinkHandle<'out, 'de>
Creates a sink that updates an existing value. Read more
Source§impl<'de, 'c, E> Deserialize<'de, Cow<'c, [u8]>> for Ewhere
E: BytesEncoding,
impl<'de, 'c, E> Deserialize<'de, Cow<'c, [u8]>> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into<'a>(
out: &'a mut Option<Cow<'c, [u8]>>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into<'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 expecting() -> Cow<'static, str>
fn expecting() -> Cow<'static, str>
Returns what the value expects, for error messages. Read more
Source§fn deserialize_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'_>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_atom( slot: &mut Slot<T, Self>, atom: Atom<'_>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom into the slot. Read more
Source§fn deserialize_borrowed_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'de>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_borrowed_atom( slot: &mut Slot<T, Self>, atom: Atom<'de>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom that borrows from the data being deserialized
into the slot. Read more
Source§fn describe_type(d: &mut dyn Describe)
fn describe_type(d: &mut dyn Describe)
Describes the Rust shape of the type. Read more
Source§fn initial_value() -> Option<T>
fn initial_value() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update<'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> Deserialize<'de, SmallVec<[u8; N]>> for Ewhere
E: BytesEncoding,
impl<'de, const N: usize, E> Deserialize<'de, SmallVec<[u8; N]>> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into<'a>(
out: &'a mut Option<SmallVec<[u8; N]>>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into<'a>( out: &'a mut Option<SmallVec<[u8; N]>>, state: &mut State, ) -> SinkHandle<'a, 'de>
Creates a sink that deserializes the value into the given slot. Read more
Source§fn expecting() -> Cow<'static, str>
fn expecting() -> Cow<'static, str>
Returns what the value expects, for error messages. Read more
Source§fn deserialize_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'_>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_atom( slot: &mut Slot<T, Self>, atom: Atom<'_>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom into the slot. Read more
Source§fn deserialize_borrowed_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'de>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_borrowed_atom( slot: &mut Slot<T, Self>, atom: Atom<'de>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom that borrows from the data being deserialized
into the slot. Read more
Source§fn describe_type(d: &mut dyn Describe)
fn describe_type(d: &mut dyn Describe)
Describes the Rust shape of the type. Read more
Source§fn initial_value() -> Option<T>
fn initial_value() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update<'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> Deserialize<'de, Vec<u8>> for Ewhere
E: BytesEncoding,
impl<'de, E> Deserialize<'de, Vec<u8>> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into<'a>(
out: &'a mut Option<Vec<u8>>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into<'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 expecting() -> Cow<'static, str>
fn expecting() -> Cow<'static, str>
Returns what the value expects, for error messages. Read more
Source§fn deserialize_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'_>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_atom( slot: &mut Slot<T, Self>, atom: Atom<'_>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom into the slot. Read more
Source§fn deserialize_borrowed_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'de>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_borrowed_atom( slot: &mut Slot<T, Self>, atom: Atom<'de>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom that borrows from the data being deserialized
into the slot. Read more
Source§fn describe_type(d: &mut dyn Describe)
fn describe_type(d: &mut dyn Describe)
Describes the Rust shape of the type. Read more
Source§fn initial_value() -> Option<T>
fn initial_value() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update<'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> Deserialize<'de, [u8; N]> for Ewhere
E: BytesEncoding,
impl<'de, const N: usize, E> Deserialize<'de, [u8; N]> for Ewhere
E: BytesEncoding,
Source§fn deserialize_into<'a>(
out: &'a mut Option<[u8; N]>,
state: &mut State,
) -> SinkHandle<'a, 'de>
fn deserialize_into<'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 expecting() -> Cow<'static, str>
fn expecting() -> Cow<'static, str>
Returns what the value expects, for error messages. Read more
Source§fn deserialize_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'_>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_atom( slot: &mut Slot<T, Self>, atom: Atom<'_>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom into the slot. Read more
Source§fn deserialize_borrowed_atom(
slot: &mut Slot<T, Self>,
atom: Atom<'de>,
state: &mut State,
) -> Result<(), Error>
fn deserialize_borrowed_atom( slot: &mut Slot<T, Self>, atom: Atom<'de>, state: &mut State, ) -> Result<(), Error>
Deserializes an atom that borrows from the data being deserialized
into the slot. Read more
Source§fn describe_type(d: &mut dyn Describe)
fn describe_type(d: &mut dyn Describe)
Describes the Rust shape of the type. Read more
Source§fn initial_value() -> Option<T>
fn initial_value() -> Option<T>
Provides the value of a missing struct field. Read more
Source§fn deserialize_update<'out>(
value: &'out mut T,
state: &mut State,
) -> SinkHandle<'out, 'de>
fn deserialize_update<'out>( value: &'out mut T, state: &mut State, ) -> SinkHandle<'out, 'de>
Creates a sink that updates an existing value. Read more
Source§impl<const CAP: usize, E> Serialize<ArrayVec<u8, CAP>> for Ewhere
E: BytesEncoding,
impl<const CAP: usize, E> Serialize<ArrayVec<u8, CAP>> for Ewhere
E: BytesEncoding,
Source§fn serialize<'a>(
value: &'a ArrayVec<u8, CAP>,
_state: &mut State,
) -> Result<Emit<'a>, Error>
fn serialize<'a>( value: &'a ArrayVec<u8, CAP>, _state: &mut State, ) -> Result<Emit<'a>, Error>
Serializes the value.
Source§fn finish(value: &T, state: &mut State) -> Result<(), Error>
fn finish(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn container_shape(value: &T) -> ContainerShape
fn container_shape(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more
Source§impl<E> Serialize<BString> for Ewhere
E: BytesEncoding,
impl<E> Serialize<BString> for Ewhere
E: BytesEncoding,
Source§fn serialize<'a>(
value: &'a BString,
_state: &mut State,
) -> Result<Emit<'a>, Error>
fn serialize<'a>( value: &'a BString, _state: &mut State, ) -> Result<Emit<'a>, Error>
Serializes the value.
Source§fn finish(value: &T, state: &mut State) -> Result<(), Error>
fn finish(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn container_shape(value: &T) -> ContainerShape
fn container_shape(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more
Source§impl<E> Serialize<Bytes> for Ewhere
E: BytesEncoding,
impl<E> Serialize<Bytes> for Ewhere
E: BytesEncoding,
Source§fn serialize<'a>(
value: &'a Bytes,
_state: &mut State,
) -> Result<Emit<'a>, Error>
fn serialize<'a>( value: &'a Bytes, _state: &mut State, ) -> Result<Emit<'a>, Error>
Serializes the value.
Source§fn finish(value: &T, state: &mut State) -> Result<(), Error>
fn finish(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn container_shape(value: &T) -> ContainerShape
fn container_shape(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more
Source§impl<E> Serialize<BytesMut> for Ewhere
E: BytesEncoding,
impl<E> Serialize<BytesMut> for Ewhere
E: BytesEncoding,
Source§fn serialize<'a>(
value: &'a BytesMut,
_state: &mut State,
) -> Result<Emit<'a>, Error>
fn serialize<'a>( value: &'a BytesMut, _state: &mut State, ) -> Result<Emit<'a>, Error>
Serializes the value.
Source§fn finish(value: &T, state: &mut State) -> Result<(), Error>
fn finish(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn container_shape(value: &T) -> ContainerShape
fn container_shape(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more
Source§impl<'c, E> Serialize<Cow<'c, [u8]>> for Ewhere
E: BytesEncoding,
impl<'c, E> Serialize<Cow<'c, [u8]>> for Ewhere
E: BytesEncoding,
Source§fn serialize<'a>(
value: &'a Cow<'c, [u8]>,
_state: &mut State,
) -> Result<Emit<'a>, Error>
fn serialize<'a>( value: &'a Cow<'c, [u8]>, _state: &mut State, ) -> Result<Emit<'a>, Error>
Serializes the value.
Source§fn finish(value: &T, state: &mut State) -> Result<(), Error>
fn finish(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn container_shape(value: &T) -> ContainerShape
fn container_shape(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more
Source§impl<const N: usize, E> Serialize<SmallVec<[u8; N]>> for Ewhere
E: BytesEncoding,
impl<const N: usize, E> Serialize<SmallVec<[u8; N]>> for Ewhere
E: BytesEncoding,
Source§fn serialize<'a>(
value: &'a SmallVec<[u8; N]>,
_state: &mut State,
) -> Result<Emit<'a>, Error>
fn serialize<'a>( value: &'a SmallVec<[u8; N]>, _state: &mut State, ) -> Result<Emit<'a>, Error>
Serializes the value.
Source§fn finish(value: &T, state: &mut State) -> Result<(), Error>
fn finish(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn container_shape(value: &T) -> ContainerShape
fn container_shape(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more
Source§impl<E> Serialize<Vec<u8>> for Ewhere
E: BytesEncoding,
impl<E> Serialize<Vec<u8>> for Ewhere
E: BytesEncoding,
Source§fn serialize<'a>(
value: &'a Vec<u8>,
_state: &mut State,
) -> Result<Emit<'a>, Error>
fn serialize<'a>( value: &'a Vec<u8>, _state: &mut State, ) -> Result<Emit<'a>, Error>
Serializes the value.
Source§fn finish(value: &T, state: &mut State) -> Result<(), Error>
fn finish(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn container_shape(value: &T) -> ContainerShape
fn container_shape(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more
Source§impl<const N: usize, E> Serialize<[u8; N]> for Ewhere
E: BytesEncoding,
impl<const N: usize, E> Serialize<[u8; N]> for Ewhere
E: BytesEncoding,
Source§fn serialize<'a>(
value: &'a [u8; N],
_state: &mut State,
) -> Result<Emit<'a>, Error>
fn serialize<'a>( value: &'a [u8; N], _state: &mut State, ) -> Result<Emit<'a>, Error>
Serializes the value.
Source§fn finish(value: &T, state: &mut State) -> Result<(), Error>
fn finish(value: &T, state: &mut State) -> Result<(), Error>
Invoked after the serialization finished. Read more
Source§fn container_shape(value: &T) -> ContainerShape
fn container_shape(value: &T) -> ContainerShape
Returns the shape of the value if it’s a map or sequence. Read more