Struct stacks_common::deps_common::bitcoin::network::serialize::RawDecoder
source · pub struct RawDecoder<R> { /* private fields */ }Expand description
An decoder for raw binary data
Implementations§
source§impl<R: Read> RawDecoder<R>
impl<R: Read> RawDecoder<R>
sourcepub fn new(reader: R) -> RawDecoder<R>
pub fn new(reader: R) -> RawDecoder<R>
Constructor
sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Returns the underlying Reader
Trait Implementations§
source§impl<R: Read> SimpleDecoder for RawDecoder<R>
impl<R: Read> SimpleDecoder for RawDecoder<R>
Auto Trait Implementations§
impl<R> RefUnwindSafe for RawDecoder<R>where R: RefUnwindSafe,
impl<R> Send for RawDecoder<R>where R: Send,
impl<R> Sync for RawDecoder<R>where R: Sync,
impl<R> Unpin for RawDecoder<R>where R: Unpin,
impl<R> UnwindSafe for RawDecoder<R>where R: 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