Struct stacks_common::deps_common::bitcoin::network::serialize::RawEncoder
source · pub struct RawEncoder<W> { /* private fields */ }Expand description
An encoder for raw binary data
Implementations§
source§impl<W: Write> RawEncoder<W>
impl<W: Write> RawEncoder<W>
sourcepub fn new(writer: W) -> RawEncoder<W>
pub fn new(writer: W) -> RawEncoder<W>
Constructor
sourcepub fn into_inner(self) -> W
pub fn into_inner(self) -> W
Returns the underlying Writer
Trait Implementations§
source§impl<W: Write> SimpleEncoder for RawEncoder<W>
impl<W: Write> SimpleEncoder for RawEncoder<W>
Auto Trait Implementations§
impl<W> RefUnwindSafe for RawEncoder<W>where W: RefUnwindSafe,
impl<W> Send for RawEncoder<W>where W: Send,
impl<W> Sync for RawEncoder<W>where W: Sync,
impl<W> Unpin for RawEncoder<W>where W: Unpin,
impl<W> UnwindSafe for RawEncoder<W>where W: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more