Trait otter_api_tests::imports::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; }
Expand description
Obtain the underlying writer.
Associated Types
Required methods
Gets a mutable reference to the underlying writer.
It is inadvisable to directly write to the underlying writer.
fn into_inner(self) -> Self::Write
fn into_inner(self) -> Self::Write
Unwraps this Serializer
, returning the underlying writer.
Implementors
impl<W, C> UnderlyingWrite for Serializer<W, C> where
W: Write,
impl<W, C> UnderlyingWrite for Serializer<W, C> where
W: Write,
type Write = W
pub fn get_ref(&self) -> &<Serializer<W, C> as UnderlyingWrite>::Write
pub fn get_mut(&mut self) -> &mut <Serializer<W, C> as UnderlyingWrite>::Write
pub fn into_inner(self) -> <Serializer<W, C> as UnderlyingWrite>::Write