[−][src]Struct tree_buf::internal::reader_writer::VecWriterStream
Methods
impl<'a, O: EncodeOptions> VecWriterStream<'a, O>
[src]
Trait Implementations
impl<'a, O: EncodeOptions> WriterStream for VecWriterStream<'a, O>
[src]
type Options = O
fn write_with_id<T: TypeId>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T
[src]
fn write_with_len<T>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T
[src]
fn bytes(&mut self) -> &mut Vec<u8>
[src]
fn options(&self) -> &Self::Options
[src]
fn restore_if_void<T: TypeId>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T
[src]
fn reserve_and_write_with_varint(
&mut self,
max: u64,
f: impl FnOnce(&mut Self) -> u64
)
[src]
&mut self,
max: u64,
f: impl FnOnce(&mut Self) -> u64
)
Auto Trait Implementations
impl<'a, O> RefUnwindSafe for VecWriterStream<'a, O> where
O: RefUnwindSafe,
O: RefUnwindSafe,
impl<'a, O> Send for VecWriterStream<'a, O> where
O: Sync,
O: Sync,
impl<'a, O> Sync for VecWriterStream<'a, O> where
O: Sync,
O: Sync,
impl<'a, O> Unpin for VecWriterStream<'a, O>
impl<'a, O> !UnwindSafe for VecWriterStream<'a, O>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,