pub struct TxOutDecoder(/* private fields */);Expand description
Decoder for the TxOut type.
Trait Implementations§
Source§impl Decoder for TxOutDecoder
impl Decoder for TxOutDecoder
Source§type Error = TxOutDecoderError
type Error = TxOutDecoderError
The error type that this decoder can produce.
Source§fn push_bytes(
&mut self,
bytes: &mut &[u8],
) -> Result<DecoderStatus, Self::Error>
fn push_bytes( &mut self, bytes: &mut &[u8], ) -> Result<DecoderStatus, Self::Error>
Pushes bytes into the decoder, consuming as much as possible. Read more
Source§fn end(self) -> Result<Self::Output, Self::Error>
fn end(self) -> Result<Self::Output, Self::Error>
Completes the decoding process and returns the final result. Read more
Source§fn read_limit(&self) -> usize
fn read_limit(&self) -> usize
Returns the maximum number of bytes this decoder can consume without over-reading. Read more
Source§impl Default for TxOutDecoder
impl Default for TxOutDecoder
Source§fn default() -> TxOutDecoder
fn default() -> TxOutDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TxOutDecoder
impl RefUnwindSafe for TxOutDecoder
impl Send for TxOutDecoder
impl Sync for TxOutDecoder
impl Unpin for TxOutDecoder
impl UnsafeUnpin for TxOutDecoder
impl UnwindSafe for TxOutDecoder
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