Struct IntoVec
pub struct IntoVec<'d> { /* private fields */ }
A encoding sink into a vector.
See Encoder::into_vec on how to create this type.
Implementations
impl IntoVec<'_>
fn encode(&mut self, read: &[u8]) -> VectorResultEncode data from a slice.
fn encode_all(self, read: &[u8]) -> VectorResultDecode data from a reader, adding an end marker.
Auto Trait Implementations
impl<'d> !RefUnwindSafe for IntoVec<'d>
impl<'d> !Sync for IntoVec<'d>
impl<'d> !UnwindSafe for IntoVec<'d>
impl<'d> Freeze for IntoVec<'d>
impl<'d> Send for IntoVec<'d>
impl<'d> Unpin for IntoVec<'d>
impl<'d> UnsafeUnpin for IntoVec<'d>
Blanket Implementations
impl<T> Any for IntoVec<'d>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for IntoVec<'d>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for IntoVec<'d>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for IntoVec<'d>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for IntoVec<'d>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for IntoVec<'d>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for IntoVec<'d>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>