Trait holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::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.
Required Associated Types
Required Methods
fn get_mut(&mut self) -> &mut Self::Write
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
fn into_inner(self) -> Self::Write
Unwraps this Serializer
, returning the underlying writer.