[][src]Trait rmp_serde::encode::UnderlyingWrite

pub trait UnderlyingWrite {
    type Write: Write;
    fn get_ref(&self) -> &Self::Write;
fn get_mut(&mut self) -> &mut Self::Write;
fn into_inner(self) -> Self::Write; }

Obtain the underlying writer.

Associated Types

type Write: Write

Underlying writer type.

Loading content...

Required methods

fn get_ref(&self) -> &Self::Write

Gets a reference to the underlying writer.

fn get_mut(&mut self) -> &mut Self::Write

Gets a mutable reference to the underlying writer.

It is inadvisable to directly write to the underlying writer.

fn into_inner(self) -> Self::Write

Unwraps this Serializer, returning the underlying writer.

Loading content...

Implementors

impl<S, W> UnderlyingWrite for StructMapSerializer<S> where
    S: UnderlyingWrite<Write = W>,
    W: Write
[src]

type Write = W

impl<S, W> UnderlyingWrite for StructTupleSerializer<S> where
    S: UnderlyingWrite<Write = W>,
    W: Write
[src]

type Write = W

impl<W: Write> UnderlyingWrite for Serializer<W>[src]

type Write = W

Loading content...