pub struct BinOwnedDecoder;
Available on crate feature
alloc
only.Expand description
Owned Vec<u8>
decoder for MessagePack bin8/16/32.
Trait Implementations§
Source§impl<'de> DecodeBorrowed<'de> for BinOwnedDecoder
impl<'de> DecodeBorrowed<'de> for BinOwnedDecoder
Source§fn decode_borrowed_with_format<R>(
format: Format,
reader: &mut R,
) -> Result<<Self as DecodeBorrowed<'de>>::Value, Error<R::Error>>where
R: IoRead<'de>,
fn decode_borrowed_with_format<R>(
format: Format,
reader: &mut R,
) -> Result<<Self as DecodeBorrowed<'de>>::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 Freeze for BinOwnedDecoder
impl RefUnwindSafe for BinOwnedDecoder
impl Send for BinOwnedDecoder
impl Sync for BinOwnedDecoder
impl Unpin for BinOwnedDecoder
impl UnwindSafe for BinOwnedDecoder
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
).