pub struct ArrayDecoder<Array, V>(/* private fields */);
Expand description
Decode a MessagePack array of V
into Array
collecting iterator.
Trait Implementations§
Source§impl<'de, Array, V> DecodeBorrowed<'de> for ArrayDecoder<Array, V>
impl<'de, Array, V> DecodeBorrowed<'de> for ArrayDecoder<Array, V>
Source§fn decode_borrowed_with_format<R>(
format: Format,
reader: &mut R,
) -> Result<Self::Value, Error<R::Error>>where
R: IoRead<'de>,
fn decode_borrowed_with_format<R>(
format: Format,
reader: &mut R,
) -> Result<Self::Value, Error<R::Error>>where
R: IoRead<'de>,
Decode with a previously read
Format
.Source§fn decode_borrowed<R>(
reader: &mut R,
) -> Result<<Self as DecodeBorrowed<'de>>::Value, Error<R::Error>>where
R: IoRead<'de>,
fn decode_borrowed<R>(
reader: &mut R,
) -> Result<<Self as DecodeBorrowed<'de>>::Value, Error<R::Error>>where
R: IoRead<'de>,
Decode the next value.
Auto Trait Implementations§
impl<Array, V> Freeze for ArrayDecoder<Array, V>
impl<Array, V> RefUnwindSafe for ArrayDecoder<Array, V>where
Array: RefUnwindSafe,
V: RefUnwindSafe,
impl<Array, V> Send for ArrayDecoder<Array, V>
impl<Array, V> Sync for ArrayDecoder<Array, V>
impl<Array, V> Unpin for ArrayDecoder<Array, V>
impl<Array, V> UnwindSafe for ArrayDecoder<Array, V>where
Array: UnwindSafe,
V: 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
Source§impl<'de, T> Decode<'de> for Twhere
T: DecodeBorrowed<'de> + 'de,
impl<'de, T> Decode<'de> for Twhere
T: DecodeBorrowed<'de> + 'de,
Source§type Value<'a> = <T as DecodeBorrowed<'de>>::Value
where
'de: 'a,
T: 'a
type Value<'a> = <T as DecodeBorrowed<'de>>::Value where 'de: 'a, T: 'a
The decoded value (may borrow for
'a
).