What changed, and why it matters
This commit only updates generated API snapshot files (text listings of public functions/types). It adds two new public enum types, DecoderStatus and EncoderStatus, and changes the return type of several Decoder/Encoder methods from bool to those new enums. There is no source code change shown, no bug fix, and no security-relevant behavior described.
No security action required. Treat as a routine public-API snapshot update accompanying an API refactor. If reviewing the full PR, verify the corresponding source-code changes correctly implement the new enum semantics and do not alter error handling in a way that could mask parse failures.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is limited to api/*.txt files under consensus_encoding, primitives, and units. These are rustdoc/public-API snapshot files used to track exported API surface. The changes reflect: (1) introduction of public enums bitcoin_consensus_encoding::DecoderStatus and EncoderStatus with variants NeedsMore/Ready and Finished/HasMore plus standard trait impls; (2) return-type changes from bool to DecoderStatus/EncoderStatus for Decoder::push_bytes, Encoder::advance, and their implementations across ArrayDecoder, ByteVecDecoder, CompactSizeDecoder, CompactSizeU64Decoder, Decoder2/3/4/6, VecDecoder, ArrayEncoder, ArrayRefEncoder, BytesEncoder, CompactSizeEncoder, Encoder2/3/4/6, SliceEncoder, and Option
Changed components
consensus_encoding/api/all-features.txtconsensus_encoding/api/alloc-only.txtconsensus_encoding/api/no-features.txtprimitives/api/all-features.txtprimitives/api/alloc-only.txtprimitives/api/no-features.txtunits/api/all-features.txtInspect captured patch +454 / −192
diff --git a/consensus_encoding/api/all-features.txt b/consensus_encoding/api/all-features.txt
index 5f6f0aa7..fc8df87c 100644
--- a/consensus_encoding/api/all-features.txt
+++ b/consensus_encoding/api/all-features.txt
@@ -792,6 +792,94 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::Decode
pub unsafe fn bitcoin_consensus_encoding::error::Decoder6Error<A, B, C, D, E, F>::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::Decoder6Error<A, B, C, D, E, F>
pub fn bitcoin_consensus_encoding::error::Decoder6Error<A, B, C, D, E, F>::from(t: T) -> T
+pub enum bitcoin_consensus_encoding::DecoderStatus
+pub bitcoin_consensus_encoding::DecoderStatus::NeedsMore
+pub bitcoin_consensus_encoding::DecoderStatus::Ready
+impl bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::is_ready(&self) -> bool
+pub fn bitcoin_consensus_encoding::DecoderStatus::needs_more(&self) -> bool
+impl core::clone::Clone for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::clone(&self) -> bitcoin_consensus_encoding::DecoderStatus
+impl core::cmp::Eq for bitcoin_consensus_encoding::DecoderStatus
+impl core::cmp::PartialEq for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::eq(&self, other: &bitcoin_consensus_encoding::DecoderStatus) -> bool
+impl core::fmt::Debug for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::marker::Copy for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Freeze for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Send for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Sync for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Unpin for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::DecoderStatus
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::DecoderStatus
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::DecoderStatus
+impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::DecoderStatus where U: core::convert::From<T>
+pub fn bitcoin_consensus_encoding::DecoderStatus::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::DecoderStatus where U: core::convert::Into<T>
+pub type bitcoin_consensus_encoding::DecoderStatus::Error = core::convert::Infallible
+pub fn bitcoin_consensus_encoding::DecoderStatus::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_consensus_encoding::DecoderStatus where U: core::convert::TryFrom<T>
+pub type bitcoin_consensus_encoding::DecoderStatus::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_consensus_encoding::DecoderStatus::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_consensus_encoding::DecoderStatus where T: core::clone::Clone
+pub type bitcoin_consensus_encoding::DecoderStatus::Owned = T
+pub fn bitcoin_consensus_encoding::DecoderStatus::clone_into(&self, target: &mut T)
+pub fn bitcoin_consensus_encoding::DecoderStatus::to_owned(&self) -> T
+impl<T> core::any::Any for bitcoin_consensus_encoding::DecoderStatus where T: 'static + ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::DecoderStatus::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_consensus_encoding::DecoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::DecoderStatus::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_consensus_encoding::DecoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::DecoderStatus::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::DecoderStatus where T: core::clone::Clone
+pub unsafe fn bitcoin_consensus_encoding::DecoderStatus::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::from(t: T) -> T
+pub enum bitcoin_consensus_encoding::EncoderStatus
+pub bitcoin_consensus_encoding::EncoderStatus::Finished
+pub bitcoin_consensus_encoding::EncoderStatus::HasMore
+impl bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::has_finished(&self) -> bool
+pub fn bitcoin_consensus_encoding::EncoderStatus::has_more(&self) -> bool
+impl core::clone::Clone for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::clone(&self) -> bitcoin_consensus_encoding::EncoderStatus
+impl core::cmp::Eq for bitcoin_consensus_encoding::EncoderStatus
+impl core::cmp::PartialEq for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::eq(&self, other: &bitcoin_consensus_encoding::EncoderStatus) -> bool
+impl core::fmt::Debug for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::marker::Copy for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Freeze for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Send for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Sync for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Unpin for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::EncoderStatus
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::EncoderStatus
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::EncoderStatus
+impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::EncoderStatus where U: core::convert::From<T>
+pub fn bitcoin_consensus_encoding::EncoderStatus::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::EncoderStatus where U: core::convert::Into<T>
+pub type bitcoin_consensus_encoding::EncoderStatus::Error = core::convert::Infallible
+pub fn bitcoin_consensus_encoding::EncoderStatus::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_consensus_encoding::EncoderStatus where U: core::convert::TryFrom<T>
+pub type bitcoin_consensus_encoding::EncoderStatus::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_consensus_encoding::EncoderStatus::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_consensus_encoding::EncoderStatus where T: core::clone::Clone
+pub type bitcoin_consensus_encoding::EncoderStatus::Owned = T
+pub fn bitcoin_consensus_encoding::EncoderStatus::clone_into(&self, target: &mut T)
+pub fn bitcoin_consensus_encoding::EncoderStatus::to_owned(&self) -> T
+impl<T> core::any::Any for bitcoin_consensus_encoding::EncoderStatus where T: 'static + ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::EncoderStatus::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_consensus_encoding::EncoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::EncoderStatus::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_consensus_encoding::EncoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::EncoderStatus::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::EncoderStatus where T: core::clone::Clone
+pub unsafe fn bitcoin_consensus_encoding::EncoderStatus::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::from(t: T) -> T
pub enum bitcoin_consensus_encoding::ReadError<D>
pub bitcoin_consensus_encoding::ReadError::Decode(D)
pub bitcoin_consensus_encoding::ReadError::Io(std::io::error::Error)
@@ -835,7 +923,7 @@ impl<const N: usize> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_e
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Error = bitcoin_consensus_encoding::error::UnexpectedEofError
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::read_limit(&self) -> usize
impl<const N: usize> core::clone::Clone for bitcoin_consensus_encoding::ArrayDecoder<N>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::clone(&self) -> bitcoin_consensus_encoding::ArrayDecoder<N>
@@ -876,7 +964,7 @@ pub struct bitcoin_consensus_encoding::ArrayEncoder<const N: usize>
impl<const N: usize> bitcoin_consensus_encoding::ArrayEncoder<N>
pub const fn bitcoin_consensus_encoding::ArrayEncoder<N>::without_length_prefix(arr: [u8; N]) -> Self
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayEncoder<N>
-pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayEncoder<N>
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::len(&self) -> usize
@@ -921,7 +1009,7 @@ pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'e, N>::clone(&self) -> bitco
impl<'e, const N: usize> core::fmt::Debug for bitcoin_consensus_encoding::ArrayRefEncoder<'e, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'e, N>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
-pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::len(&self) -> usize
@@ -962,7 +1050,7 @@ impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::ByteVec
pub type bitcoin_consensus_encoding::ByteVecDecoder::Error = bitcoin_consensus_encoding::error::ByteVecDecoderError
pub type bitcoin_consensus_encoding::ByteVecDecoder::Output = alloc::vec::Vec<u8>
pub fn bitcoin_consensus_encoding::ByteVecDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ByteVecDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ByteVecDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ByteVecDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_consensus_encoding::ByteVecDecoder
pub fn bitcoin_consensus_encoding::ByteVecDecoder::clone(&self) -> bitcoin_consensus_encoding::ByteVecDecoder
@@ -1049,7 +1137,7 @@ pub struct bitcoin_consensus_encoding::BytesEncoder<'sl>
impl<'sl> bitcoin_consensus_encoding::BytesEncoder<'sl>
pub const fn bitcoin_consensus_encoding::BytesEncoder<'sl>::without_length_prefix(sl: &'sl [u8]) -> Self
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::BytesEncoder<'_>
-pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::current_chunk(&self) -> &[u8]
impl<'sl> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::BytesEncoder<'sl>
pub fn bitcoin_consensus_encoding::BytesEncoder<'sl>::len(&self) -> usize
@@ -1094,7 +1182,7 @@ impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Compact
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Output = usize
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeDecoder
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::clone(&self) -> bitcoin_consensus_encoding::CompactSizeDecoder
@@ -1183,7 +1271,7 @@ pub const fn bitcoin_consensus_encoding::CompactSizeEncoder::encoded_size(value:
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new(value: usize) -> Self
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new_u64(value: u64) -> Self
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::CompactSizeEncoder
-pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::current_chunk(&self) -> &[u8]
impl bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::CompactSizeEncoder
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::len(&self) -> usize
@@ -1227,7 +1315,7 @@ impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Compact
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Output = u64
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeU64Decoder
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::clone(&self) -> bitcoin_consensus_encoding::CompactSizeU64Decoder
@@ -1271,7 +1359,7 @@ impl<A, B> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::D
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Error = bitcoin_consensus_encoding::error::Decoder2Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
impl<A, B> core::clone::Clone for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::clone(&self) -> Self
@@ -1315,7 +1403,7 @@ impl<A, B, C> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Error = bitcoin_consensus_encoding::error::Decoder3Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::read_limit(&self) -> usize
impl<A, B, C> core::clone::Clone for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::clone(&self) -> Self
@@ -1359,7 +1447,7 @@ impl<A, B, C, D> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encod
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Error = bitcoin_consensus_encoding::error::Decoder4Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::read_limit(&self) -> usize
impl<A, B, C, D> core::clone::Clone for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::clone(&self) -> Self
@@ -1403,7 +1491,7 @@ impl<A, B, C, D, E, F> bitcoin_consensus_encoding::Decoder for bitcoin_consensus
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Error = bitcoin_consensus_encoding::error::Decoder6Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error, <E as bitcoin_consensus_encoding::Decoder>::Error, <F as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output, <E as bitcoin_consensus_encoding::Decoder>::Output, <F as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::read_limit(&self) -> usize
impl<A, B, C, D, E, F> core::clone::Clone for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, E: bitcoin_consensus_encoding::Decoder + core::clone::Clone, F: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <D as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <E as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::clone(&self) -> Self
@@ -1446,7 +1534,7 @@ pub const fn bitcoin_consensus_encoding::Encoder2<A, B>::new(enc_1: A, enc_2: B)
impl<A, B> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder2<A, B> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder2<A, B>
-pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder2<A, B>
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::clone(&self) -> bitcoin_consensus_encoding::Encoder2<A, B>
@@ -1487,7 +1575,7 @@ pub const fn bitcoin_consensus_encoding::Encoder3<A, B, C>::new(enc_1: A, enc_2:
impl<A, B, C> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder3<A, B, C> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, C: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder3<A, B, C>
-pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone, C: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder3<A, B, C>
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::clone(&self) -> bitcoin_consensus_encoding::Encoder3<A, B, C>
@@ -1528,7 +1616,7 @@ pub const fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::new(enc_1: A, enc
impl<A, B, C, D> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, C: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, D: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder4<A, B, C, D>
-pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone, C: core::clone::Clone, D: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder4<A, B, C, D>
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::clone(&self) -> bitcoin_consensus_encoding::Encoder4<A, B, C, D>
@@ -1569,7 +1657,7 @@ pub const fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::new(enc_1:
impl<A, B, C, D, E, F> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, C: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, D: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, E: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, F: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder, E: bitcoin_consensus_encoding::Encoder, F: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
-pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone, C: core::clone::Clone, D: core::clone::Clone, E: core::clone::Clone, F: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::clone(&self) -> bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
@@ -1705,7 +1793,7 @@ pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::clone(&self) -> Self
impl<'e, T: bitcoin_consensus_encoding::Encode> core::fmt::Debug for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::fmt::Debug
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
-pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Freeze
impl<'e, T> core::marker::Send for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Send, T: core::marker::Sync
@@ -1836,7 +1924,7 @@ impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::read_limit(&self) -> usize
impl<T: bitcoin_consensus_encoding::Decode> core::default::Default for bitcoin_consensus_encoding::VecDecoder<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::default() -> Self
@@ -1926,97 +2014,97 @@ pub trait bitcoin_consensus_encoding::Decoder: core::marker::Sized
pub type bitcoin_consensus_encoding::Decoder::Error
pub type bitcoin_consensus_encoding::Decoder::Output
pub fn bitcoin_consensus_encoding::Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder::read_limit(&self) -> usize
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::ByteVecDecoder
pub type bitcoin_consensus_encoding::ByteVecDecoder::Error = bitcoin_consensus_encoding::error::ByteVecDecoderError
pub type bitcoin_consensus_encoding::ByteVecDecoder::Output = alloc::vec::Vec<u8>
pub fn bitcoin_consensus_encoding::ByteVecDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ByteVecDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ByteVecDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ByteVecDecoder::read_limit(&self) -> usize
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeDecoder
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Output = usize
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::read_limit(&self) -> usize
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeU64Decoder
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Output = u64
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::read_limit(&self) -> usize
impl<A, B, C, D, E, F> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder, E: bitcoin_consensus_encoding::Decoder, F: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Error = bitcoin_consensus_encoding::error::Decoder6Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error, <E as bitcoin_consensus_encoding::Decoder>::Error, <F as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output, <E as bitcoin_consensus_encoding::Decoder>::Output, <F as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::read_limit(&self) -> usize
impl<A, B, C, D> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Error = bitcoin_consensus_encoding::error::Decoder4Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::read_limit(&self) -> usize
impl<A, B, C> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Error = bitcoin_consensus_encoding::error::Decoder3Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::read_limit(&self) -> usize
impl<A, B> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Error = bitcoin_consensus_encoding::error::Decoder2Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::read_limit(&self) -> usize
impl<const N: usize> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::ArrayDecoder<N>
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Error = bitcoin_consensus_encoding::error::UnexpectedEofError
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::read_limit(&self) -> usize
pub trait bitcoin_consensus_encoding::Encode
pub type bitcoin_consensus_encoding::Encode::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
pub fn bitcoin_consensus_encoding::Encode::encoder(&self) -> Self::Encoder
pub trait bitcoin_consensus_encoding::Encoder
-pub fn bitcoin_consensus_encoding::Encoder::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder::current_chunk(&self) -> &[u8]
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::BytesEncoder<'_>
-pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::current_chunk(&self) -> &[u8]
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::CompactSizeEncoder
-pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder, E: bitcoin_consensus_encoding::Encoder, F: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
-pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder4<A, B, C, D>
-pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder3<A, B, C>
-pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder2<A, B>
-pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
-pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
impl<T: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for core::option::Option<T>
-pub fn core::option::Option<T>::advance(&mut self) -> bool
+pub fn core::option::Option<T>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn core::option::Option<T>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayEncoder<N>
-pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
-pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::current_chunk(&self) -> &[u8]
pub trait bitcoin_consensus_encoding::ExactSizeEncoder: bitcoin_consensus_encoding::Encoder
pub fn bitcoin_consensus_encoding::ExactSizeEncoder::is_empty(&self) -> bool
@@ -2037,6 +2125,8 @@ impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_co
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::len(&self) -> usize
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::len(&self) -> usize
+pub fn bitcoin_consensus_encoding::check_encode<T: bitcoin_consensus_encoding::Encode + ?core::marker::Sized>(value: &T, expected: &[u8])
+pub fn bitcoin_consensus_encoding::check_encoder<T: bitcoin_consensus_encoding::Encoder + ?core::marker::Sized>(encoder: &mut T, expected: &[u8])
pub fn bitcoin_consensus_encoding::decode_from_read<T, R>(reader: R) -> core::result::Result<T, bitcoin_consensus_encoding::error::ReadError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>> where T: bitcoin_consensus_encoding::Decode, R: std::io::BufRead
pub fn bitcoin_consensus_encoding::decode_from_read_unbuffered<T, R>(reader: R) -> core::result::Result<T, bitcoin_consensus_encoding::error::ReadError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>> where T: bitcoin_consensus_encoding::Decode, R: std::io::Read
pub fn bitcoin_consensus_encoding::decode_from_read_unbuffered_with<T, R, const BUFFER_SIZE: usize>(reader: R) -> core::result::Result<T, bitcoin_consensus_encoding::error::ReadError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>> where T: bitcoin_consensus_encoding::Decode, R: std::io::Read
diff --git a/consensus_encoding/api/alloc-only.txt b/consensus_encoding/api/alloc-only.txt
index 1361e70a..34a8b35d 100644
--- a/consensus_encoding/api/alloc-only.txt
+++ b/consensus_encoding/api/alloc-only.txt
@@ -724,6 +724,94 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::Decode
pub unsafe fn bitcoin_consensus_encoding::error::Decoder6Error<A, B, C, D, E, F>::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::Decoder6Error<A, B, C, D, E, F>
pub fn bitcoin_consensus_encoding::error::Decoder6Error<A, B, C, D, E, F>::from(t: T) -> T
+pub enum bitcoin_consensus_encoding::DecoderStatus
+pub bitcoin_consensus_encoding::DecoderStatus::NeedsMore
+pub bitcoin_consensus_encoding::DecoderStatus::Ready
+impl bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::is_ready(&self) -> bool
+pub fn bitcoin_consensus_encoding::DecoderStatus::needs_more(&self) -> bool
+impl core::clone::Clone for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::clone(&self) -> bitcoin_consensus_encoding::DecoderStatus
+impl core::cmp::Eq for bitcoin_consensus_encoding::DecoderStatus
+impl core::cmp::PartialEq for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::eq(&self, other: &bitcoin_consensus_encoding::DecoderStatus) -> bool
+impl core::fmt::Debug for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::marker::Copy for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Freeze for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Send for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Sync for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Unpin for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::DecoderStatus
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::DecoderStatus
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::DecoderStatus
+impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::DecoderStatus where U: core::convert::From<T>
+pub fn bitcoin_consensus_encoding::DecoderStatus::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::DecoderStatus where U: core::convert::Into<T>
+pub type bitcoin_consensus_encoding::DecoderStatus::Error = core::convert::Infallible
+pub fn bitcoin_consensus_encoding::DecoderStatus::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_consensus_encoding::DecoderStatus where U: core::convert::TryFrom<T>
+pub type bitcoin_consensus_encoding::DecoderStatus::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_consensus_encoding::DecoderStatus::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_consensus_encoding::DecoderStatus where T: core::clone::Clone
+pub type bitcoin_consensus_encoding::DecoderStatus::Owned = T
+pub fn bitcoin_consensus_encoding::DecoderStatus::clone_into(&self, target: &mut T)
+pub fn bitcoin_consensus_encoding::DecoderStatus::to_owned(&self) -> T
+impl<T> core::any::Any for bitcoin_consensus_encoding::DecoderStatus where T: 'static + ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::DecoderStatus::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_consensus_encoding::DecoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::DecoderStatus::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_consensus_encoding::DecoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::DecoderStatus::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::DecoderStatus where T: core::clone::Clone
+pub unsafe fn bitcoin_consensus_encoding::DecoderStatus::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::from(t: T) -> T
+pub enum bitcoin_consensus_encoding::EncoderStatus
+pub bitcoin_consensus_encoding::EncoderStatus::Finished
+pub bitcoin_consensus_encoding::EncoderStatus::HasMore
+impl bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::has_finished(&self) -> bool
+pub fn bitcoin_consensus_encoding::EncoderStatus::has_more(&self) -> bool
+impl core::clone::Clone for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::clone(&self) -> bitcoin_consensus_encoding::EncoderStatus
+impl core::cmp::Eq for bitcoin_consensus_encoding::EncoderStatus
+impl core::cmp::PartialEq for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::eq(&self, other: &bitcoin_consensus_encoding::EncoderStatus) -> bool
+impl core::fmt::Debug for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::marker::Copy for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Freeze for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Send for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Sync for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Unpin for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::EncoderStatus
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::EncoderStatus
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::EncoderStatus
+impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::EncoderStatus where U: core::convert::From<T>
+pub fn bitcoin_consensus_encoding::EncoderStatus::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::EncoderStatus where U: core::convert::Into<T>
+pub type bitcoin_consensus_encoding::EncoderStatus::Error = core::convert::Infallible
+pub fn bitcoin_consensus_encoding::EncoderStatus::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_consensus_encoding::EncoderStatus where U: core::convert::TryFrom<T>
+pub type bitcoin_consensus_encoding::EncoderStatus::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_consensus_encoding::EncoderStatus::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> alloc::borrow::ToOwned for bitcoin_consensus_encoding::EncoderStatus where T: core::clone::Clone
+pub type bitcoin_consensus_encoding::EncoderStatus::Owned = T
+pub fn bitcoin_consensus_encoding::EncoderStatus::clone_into(&self, target: &mut T)
+pub fn bitcoin_consensus_encoding::EncoderStatus::to_owned(&self) -> T
+impl<T> core::any::Any for bitcoin_consensus_encoding::EncoderStatus where T: 'static + ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::EncoderStatus::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_consensus_encoding::EncoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::EncoderStatus::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_consensus_encoding::EncoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::EncoderStatus::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::EncoderStatus where T: core::clone::Clone
+pub unsafe fn bitcoin_consensus_encoding::EncoderStatus::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::from(t: T) -> T
pub struct bitcoin_consensus_encoding::ArrayDecoder<const N: usize>
impl<const N: usize> bitcoin_consensus_encoding::ArrayDecoder<N>
pub const fn bitcoin_consensus_encoding::ArrayDecoder<N>::new() -> Self
@@ -731,7 +819,7 @@ impl<const N: usize> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_e
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Error = bitcoin_consensus_encoding::error::UnexpectedEofError
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::read_limit(&self) -> usize
impl<const N: usize> core::clone::Clone for bitcoin_consensus_encoding::ArrayDecoder<N>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::clone(&self) -> bitcoin_consensus_encoding::ArrayDecoder<N>
@@ -772,7 +860,7 @@ pub struct bitcoin_consensus_encoding::ArrayEncoder<const N: usize>
impl<const N: usize> bitcoin_consensus_encoding::ArrayEncoder<N>
pub const fn bitcoin_consensus_encoding::ArrayEncoder<N>::without_length_prefix(arr: [u8; N]) -> Self
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayEncoder<N>
-pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayEncoder<N>
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::len(&self) -> usize
@@ -817,7 +905,7 @@ pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'e, N>::clone(&self) -> bitco
impl<'e, const N: usize> core::fmt::Debug for bitcoin_consensus_encoding::ArrayRefEncoder<'e, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'e, N>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
-pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::len(&self) -> usize
@@ -858,7 +946,7 @@ impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::ByteVec
pub type bitcoin_consensus_encoding::ByteVecDecoder::Error = bitcoin_consensus_encoding::error::ByteVecDecoderError
pub type bitcoin_consensus_encoding::ByteVecDecoder::Output = alloc::vec::Vec<u8>
pub fn bitcoin_consensus_encoding::ByteVecDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ByteVecDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ByteVecDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ByteVecDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_consensus_encoding::ByteVecDecoder
pub fn bitcoin_consensus_encoding::ByteVecDecoder::clone(&self) -> bitcoin_consensus_encoding::ByteVecDecoder
@@ -943,7 +1031,7 @@ pub struct bitcoin_consensus_encoding::BytesEncoder<'sl>
impl<'sl> bitcoin_consensus_encoding::BytesEncoder<'sl>
pub const fn bitcoin_consensus_encoding::BytesEncoder<'sl>::without_length_prefix(sl: &'sl [u8]) -> Self
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::BytesEncoder<'_>
-pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::current_chunk(&self) -> &[u8]
impl<'sl> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::BytesEncoder<'sl>
pub fn bitcoin_consensus_encoding::BytesEncoder<'sl>::len(&self) -> usize
@@ -988,7 +1076,7 @@ impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Compact
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Output = usize
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeDecoder
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::clone(&self) -> bitcoin_consensus_encoding::CompactSizeDecoder
@@ -1075,7 +1163,7 @@ pub const fn bitcoin_consensus_encoding::CompactSizeEncoder::encoded_size(value:
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new(value: usize) -> Self
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new_u64(value: u64) -> Self
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::CompactSizeEncoder
-pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::current_chunk(&self) -> &[u8]
impl bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::CompactSizeEncoder
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::len(&self) -> usize
@@ -1119,7 +1207,7 @@ impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Compact
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Output = u64
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeU64Decoder
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::clone(&self) -> bitcoin_consensus_encoding::CompactSizeU64Decoder
@@ -1163,7 +1251,7 @@ impl<A, B> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::D
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Error = bitcoin_consensus_encoding::error::Decoder2Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
impl<A, B> core::clone::Clone for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::clone(&self) -> Self
@@ -1207,7 +1295,7 @@ impl<A, B, C> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Error = bitcoin_consensus_encoding::error::Decoder3Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::read_limit(&self) -> usize
impl<A, B, C> core::clone::Clone for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::clone(&self) -> Self
@@ -1251,7 +1339,7 @@ impl<A, B, C, D> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encod
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Error = bitcoin_consensus_encoding::error::Decoder4Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::read_limit(&self) -> usize
impl<A, B, C, D> core::clone::Clone for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::clone(&self) -> Self
@@ -1295,7 +1383,7 @@ impl<A, B, C, D, E, F> bitcoin_consensus_encoding::Decoder for bitcoin_consensus
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Error = bitcoin_consensus_encoding::error::Decoder6Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error, <E as bitcoin_consensus_encoding::Decoder>::Error, <F as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output, <E as bitcoin_consensus_encoding::Decoder>::Output, <F as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::read_limit(&self) -> usize
impl<A, B, C, D, E, F> core::clone::Clone for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, E: bitcoin_consensus_encoding::Decoder + core::clone::Clone, F: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <D as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <E as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::clone(&self) -> Self
@@ -1338,7 +1426,7 @@ pub const fn bitcoin_consensus_encoding::Encoder2<A, B>::new(enc_1: A, enc_2: B)
impl<A, B> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder2<A, B> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder2<A, B>
-pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder2<A, B>
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::clone(&self) -> bitcoin_consensus_encoding::Encoder2<A, B>
@@ -1379,7 +1467,7 @@ pub const fn bitcoin_consensus_encoding::Encoder3<A, B, C>::new(enc_1: A, enc_2:
impl<A, B, C> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder3<A, B, C> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, C: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder3<A, B, C>
-pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone, C: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder3<A, B, C>
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::clone(&self) -> bitcoin_consensus_encoding::Encoder3<A, B, C>
@@ -1420,7 +1508,7 @@ pub const fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::new(enc_1: A, enc
impl<A, B, C, D> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, C: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, D: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder4<A, B, C, D>
-pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone, C: core::clone::Clone, D: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder4<A, B, C, D>
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::clone(&self) -> bitcoin_consensus_encoding::Encoder4<A, B, C, D>
@@ -1461,7 +1549,7 @@ pub const fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::new(enc_1:
impl<A, B, C, D, E, F> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, C: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, D: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, E: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, F: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder, E: bitcoin_consensus_encoding::Encoder, F: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
-pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone, C: core::clone::Clone, D: core::clone::Clone, E: core::clone::Clone, F: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::clone(&self) -> bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
@@ -1595,7 +1683,7 @@ pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::clone(&self) -> Self
impl<'e, T: bitcoin_consensus_encoding::Encode> core::fmt::Debug for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::fmt::Debug
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
-pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Freeze
impl<'e, T> core::marker::Send for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Send, T: core::marker::Sync
@@ -1722,7 +1810,7 @@ impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::read_limit(&self) -> usize
impl<T: bitcoin_consensus_encoding::Decode> core::default::Default for bitcoin_consensus_encoding::VecDecoder<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::default() -> Self
@@ -1810,97 +1898,97 @@ pub trait bitcoin_consensus_encoding::Decoder: core::marker::Sized
pub type bitcoin_consensus_encoding::Decoder::Error
pub type bitcoin_consensus_encoding::Decoder::Output
pub fn bitcoin_consensus_encoding::Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder::read_limit(&self) -> usize
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::ByteVecDecoder
pub type bitcoin_consensus_encoding::ByteVecDecoder::Error = bitcoin_consensus_encoding::error::ByteVecDecoderError
pub type bitcoin_consensus_encoding::ByteVecDecoder::Output = alloc::vec::Vec<u8>
pub fn bitcoin_consensus_encoding::ByteVecDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ByteVecDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ByteVecDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ByteVecDecoder::read_limit(&self) -> usize
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeDecoder
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Output = usize
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::read_limit(&self) -> usize
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeU64Decoder
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Output = u64
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::read_limit(&self) -> usize
impl<A, B, C, D, E, F> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder, E: bitcoin_consensus_encoding::Decoder, F: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Error = bitcoin_consensus_encoding::error::Decoder6Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error, <E as bitcoin_consensus_encoding::Decoder>::Error, <F as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output, <E as bitcoin_consensus_encoding::Decoder>::Output, <F as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::read_limit(&self) -> usize
impl<A, B, C, D> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Error = bitcoin_consensus_encoding::error::Decoder4Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::read_limit(&self) -> usize
impl<A, B, C> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Error = bitcoin_consensus_encoding::error::Decoder3Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::read_limit(&self) -> usize
impl<A, B> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Error = bitcoin_consensus_encoding::error::Decoder2Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::read_limit(&self) -> usize
impl<const N: usize> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::ArrayDecoder<N>
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Error = bitcoin_consensus_encoding::error::UnexpectedEofError
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::read_limit(&self) -> usize
pub trait bitcoin_consensus_encoding::Encode
pub type bitcoin_consensus_encoding::Encode::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
pub fn bitcoin_consensus_encoding::Encode::encoder(&self) -> Self::Encoder
pub trait bitcoin_consensus_encoding::Encoder
-pub fn bitcoin_consensus_encoding::Encoder::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder::current_chunk(&self) -> &[u8]
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::BytesEncoder<'_>
-pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::current_chunk(&self) -> &[u8]
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::CompactSizeEncoder
-pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder, E: bitcoin_consensus_encoding::Encoder, F: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
-pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder4<A, B, C, D>
-pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder3<A, B, C>
-pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder2<A, B>
-pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
-pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
impl<T: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for core::option::Option<T>
-pub fn core::option::Option<T>::advance(&mut self) -> bool
+pub fn core::option::Option<T>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn core::option::Option<T>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayEncoder<N>
-pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
-pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::current_chunk(&self) -> &[u8]
pub trait bitcoin_consensus_encoding::ExactSizeEncoder: bitcoin_consensus_encoding::Encoder
pub fn bitcoin_consensus_encoding::ExactSizeEncoder::is_empty(&self) -> bool
@@ -1921,6 +2009,8 @@ impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_co
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::len(&self) -> usize
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::len(&self) -> usize
+pub fn bitcoin_consensus_encoding::check_encode<T: bitcoin_consensus_encoding::Encode + ?core::marker::Sized>(value: &T, expected: &[u8])
+pub fn bitcoin_consensus_encoding::check_encoder<T: bitcoin_consensus_encoding::Encoder + ?core::marker::Sized>(encoder: &mut T, expected: &[u8])
pub fn bitcoin_consensus_encoding::decode_from_slice<T: bitcoin_consensus_encoding::Decode>(bytes: &[u8]) -> core::result::Result<T, bitcoin_consensus_encoding::error::DecodeError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>>
pub fn bitcoin_consensus_encoding::decode_from_slice_unbounded<T>(bytes: &mut &[u8]) -> core::result::Result<T, <<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error> where T: bitcoin_consensus_encoding::Decode
pub fn bitcoin_consensus_encoding::drain_to_vec<T>(encoder: &mut T) -> alloc::vec::Vec<u8> where T: bitcoin_consensus_encoding::Encoder + ?core::marker::Sized
diff --git a/consensus_encoding/api/no-features.txt b/consensus_encoding/api/no-features.txt
index 48b33ce3..9665cc24 100644
--- a/consensus_encoding/api/no-features.txt
+++ b/consensus_encoding/api/no-features.txt
@@ -552,6 +552,86 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::Decode
pub unsafe fn bitcoin_consensus_encoding::error::Decoder6Error<A, B, C, D, E, F>::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::Decoder6Error<A, B, C, D, E, F>
pub fn bitcoin_consensus_encoding::error::Decoder6Error<A, B, C, D, E, F>::from(t: T) -> T
+pub enum bitcoin_consensus_encoding::DecoderStatus
+pub bitcoin_consensus_encoding::DecoderStatus::NeedsMore
+pub bitcoin_consensus_encoding::DecoderStatus::Ready
+impl bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::is_ready(&self) -> bool
+pub fn bitcoin_consensus_encoding::DecoderStatus::needs_more(&self) -> bool
+impl core::clone::Clone for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::clone(&self) -> bitcoin_consensus_encoding::DecoderStatus
+impl core::cmp::Eq for bitcoin_consensus_encoding::DecoderStatus
+impl core::cmp::PartialEq for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::eq(&self, other: &bitcoin_consensus_encoding::DecoderStatus) -> bool
+impl core::fmt::Debug for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::marker::Copy for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Freeze for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Send for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Sync for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::Unpin for bitcoin_consensus_encoding::DecoderStatus
+impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::DecoderStatus
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::DecoderStatus
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::DecoderStatus
+impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::DecoderStatus where U: core::convert::From<T>
+pub fn bitcoin_consensus_encoding::DecoderStatus::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::DecoderStatus where U: core::convert::Into<T>
+pub type bitcoin_consensus_encoding::DecoderStatus::Error = core::convert::Infallible
+pub fn bitcoin_consensus_encoding::DecoderStatus::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_consensus_encoding::DecoderStatus where U: core::convert::TryFrom<T>
+pub type bitcoin_consensus_encoding::DecoderStatus::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_consensus_encoding::DecoderStatus::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> core::any::Any for bitcoin_consensus_encoding::DecoderStatus where T: 'static + ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::DecoderStatus::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_consensus_encoding::DecoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::DecoderStatus::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_consensus_encoding::DecoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::DecoderStatus::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::DecoderStatus where T: core::clone::Clone
+pub unsafe fn bitcoin_consensus_encoding::DecoderStatus::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_consensus_encoding::DecoderStatus
+pub fn bitcoin_consensus_encoding::DecoderStatus::from(t: T) -> T
+pub enum bitcoin_consensus_encoding::EncoderStatus
+pub bitcoin_consensus_encoding::EncoderStatus::Finished
+pub bitcoin_consensus_encoding::EncoderStatus::HasMore
+impl bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::has_finished(&self) -> bool
+pub fn bitcoin_consensus_encoding::EncoderStatus::has_more(&self) -> bool
+impl core::clone::Clone for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::clone(&self) -> bitcoin_consensus_encoding::EncoderStatus
+impl core::cmp::Eq for bitcoin_consensus_encoding::EncoderStatus
+impl core::cmp::PartialEq for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::eq(&self, other: &bitcoin_consensus_encoding::EncoderStatus) -> bool
+impl core::fmt::Debug for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+impl core::marker::Copy for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Freeze for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Send for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Sync for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::Unpin for bitcoin_consensus_encoding::EncoderStatus
+impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::EncoderStatus
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::EncoderStatus
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::EncoderStatus
+impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::EncoderStatus where U: core::convert::From<T>
+pub fn bitcoin_consensus_encoding::EncoderStatus::into(self) -> U
+impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::EncoderStatus where U: core::convert::Into<T>
+pub type bitcoin_consensus_encoding::EncoderStatus::Error = core::convert::Infallible
+pub fn bitcoin_consensus_encoding::EncoderStatus::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
+impl<T, U> core::convert::TryInto<U> for bitcoin_consensus_encoding::EncoderStatus where U: core::convert::TryFrom<T>
+pub type bitcoin_consensus_encoding::EncoderStatus::Error = <U as core::convert::TryFrom<T>>::Error
+pub fn bitcoin_consensus_encoding::EncoderStatus::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
+impl<T> core::any::Any for bitcoin_consensus_encoding::EncoderStatus where T: 'static + ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::EncoderStatus::type_id(&self) -> core::any::TypeId
+impl<T> core::borrow::Borrow<T> for bitcoin_consensus_encoding::EncoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::EncoderStatus::borrow(&self) -> &T
+impl<T> core::borrow::BorrowMut<T> for bitcoin_consensus_encoding::EncoderStatus where T: ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::EncoderStatus::borrow_mut(&mut self) -> &mut T
+impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::EncoderStatus where T: core::clone::Clone
+pub unsafe fn bitcoin_consensus_encoding::EncoderStatus::clone_to_uninit(&self, dest: *mut u8)
+impl<T> core::convert::From<T> for bitcoin_consensus_encoding::EncoderStatus
+pub fn bitcoin_consensus_encoding::EncoderStatus::from(t: T) -> T
pub struct bitcoin_consensus_encoding::ArrayDecoder<const N: usize>
impl<const N: usize> bitcoin_consensus_encoding::ArrayDecoder<N>
pub const fn bitcoin_consensus_encoding::ArrayDecoder<N>::new() -> Self
@@ -559,7 +639,7 @@ impl<const N: usize> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_e
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Error = bitcoin_consensus_encoding::error::UnexpectedEofError
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::read_limit(&self) -> usize
impl<const N: usize> core::clone::Clone for bitcoin_consensus_encoding::ArrayDecoder<N>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::clone(&self) -> bitcoin_consensus_encoding::ArrayDecoder<N>
@@ -596,7 +676,7 @@ pub struct bitcoin_consensus_encoding::ArrayEncoder<const N: usize>
impl<const N: usize> bitcoin_consensus_encoding::ArrayEncoder<N>
pub const fn bitcoin_consensus_encoding::ArrayEncoder<N>::without_length_prefix(arr: [u8; N]) -> Self
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayEncoder<N>
-pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayEncoder<N>
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::len(&self) -> usize
@@ -637,7 +717,7 @@ pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'e, N>::clone(&self) -> bitco
impl<'e, const N: usize> core::fmt::Debug for bitcoin_consensus_encoding::ArrayRefEncoder<'e, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'e, N>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
-pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::len(&self) -> usize
@@ -670,7 +750,7 @@ pub struct bitcoin_consensus_encoding::BytesEncoder<'sl>
impl<'sl> bitcoin_consensus_encoding::BytesEncoder<'sl>
pub const fn bitcoin_consensus_encoding::BytesEncoder<'sl>::without_length_prefix(sl: &'sl [u8]) -> Self
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::BytesEncoder<'_>
-pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::current_chunk(&self) -> &[u8]
impl<'sl> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::BytesEncoder<'sl>
pub fn bitcoin_consensus_encoding::BytesEncoder<'sl>::len(&self) -> usize
@@ -711,7 +791,7 @@ impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Compact
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Output = usize
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeDecoder
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::clone(&self) -> bitcoin_consensus_encoding::CompactSizeDecoder
@@ -788,7 +868,7 @@ pub const fn bitcoin_consensus_encoding::CompactSizeEncoder::encoded_size(value:
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new(value: usize) -> Self
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new_u64(value: u64) -> Self
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::CompactSizeEncoder
-pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::current_chunk(&self) -> &[u8]
impl bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::CompactSizeEncoder
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::len(&self) -> usize
@@ -828,7 +908,7 @@ impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Compact
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Output = u64
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeU64Decoder
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::clone(&self) -> bitcoin_consensus_encoding::CompactSizeU64Decoder
@@ -868,7 +948,7 @@ impl<A, B> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::D
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Error = bitcoin_consensus_encoding::error::Decoder2Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
impl<A, B> core::clone::Clone for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::clone(&self) -> Self
@@ -908,7 +988,7 @@ impl<A, B, C> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Error = bitcoin_consensus_encoding::error::Decoder3Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::read_limit(&self) -> usize
impl<A, B, C> core::clone::Clone for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::clone(&self) -> Self
@@ -948,7 +1028,7 @@ impl<A, B, C, D> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encod
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Error = bitcoin_consensus_encoding::error::Decoder4Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::read_limit(&self) -> usize
impl<A, B, C, D> core::clone::Clone for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::clone(&self) -> Self
@@ -988,7 +1068,7 @@ impl<A, B, C, D, E, F> bitcoin_consensus_encoding::Decoder for bitcoin_consensus
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Error = bitcoin_consensus_encoding::error::Decoder6Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error, <E as bitcoin_consensus_encoding::Decoder>::Error, <F as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output, <E as bitcoin_consensus_encoding::Decoder>::Output, <F as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::read_limit(&self) -> usize
impl<A, B, C, D, E, F> core::clone::Clone for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, E: bitcoin_consensus_encoding::Decoder + core::clone::Clone, F: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <D as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <E as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::clone(&self) -> Self
@@ -1027,7 +1107,7 @@ pub const fn bitcoin_consensus_encoding::Encoder2<A, B>::new(enc_1: A, enc_2: B)
impl<A, B> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder2<A, B> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder2<A, B>
-pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder2<A, B>
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::clone(&self) -> bitcoin_consensus_encoding::Encoder2<A, B>
@@ -1064,7 +1144,7 @@ pub const fn bitcoin_consensus_encoding::Encoder3<A, B, C>::new(enc_1: A, enc_2:
impl<A, B, C> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder3<A, B, C> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, C: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder3<A, B, C>
-pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone, C: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder3<A, B, C>
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::clone(&self) -> bitcoin_consensus_encoding::Encoder3<A, B, C>
@@ -1101,7 +1181,7 @@ pub const fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::new(enc_1: A, enc
impl<A, B, C, D> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, C: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, D: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder4<A, B, C, D>
-pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone, C: core::clone::Clone, D: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder4<A, B, C, D>
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::clone(&self) -> bitcoin_consensus_encoding::Encoder4<A, B, C, D>
@@ -1138,7 +1218,7 @@ pub const fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::new(enc_1:
impl<A, B, C, D, E, F> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, B: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, C: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, D: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, E: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder, F: bitcoin_consensus_encoding::Encoder + bitcoin_consensus_encoding::ExactSizeEncoder
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::len(&self) -> usize
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder, E: bitcoin_consensus_encoding::Encoder, F: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
-pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::current_chunk(&self) -> &[u8]
impl<A: core::clone::Clone, B: core::clone::Clone, C: core::clone::Clone, D: core::clone::Clone, E: core::clone::Clone, F: core::clone::Clone> core::clone::Clone for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::clone(&self) -> bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
@@ -1220,7 +1300,7 @@ pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::clone(&self) -> Self
impl<'e, T: bitcoin_consensus_encoding::Encode> core::fmt::Debug for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::fmt::Debug
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
-pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Freeze
impl<'e, T> core::marker::Send for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Send, T: core::marker::Sync
@@ -1330,85 +1410,85 @@ pub trait bitcoin_consensus_encoding::Decoder: core::marker::Sized
pub type bitcoin_consensus_encoding::Decoder::Error
pub type bitcoin_consensus_encoding::Decoder::Output
pub fn bitcoin_consensus_encoding::Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder::read_limit(&self) -> usize
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeDecoder
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Output = usize
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeDecoder::read_limit(&self) -> usize
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeU64Decoder
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Error = bitcoin_consensus_encoding::error::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Output = u64
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::read_limit(&self) -> usize
impl<A, B, C, D, E, F> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder, E: bitcoin_consensus_encoding::Decoder, F: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Error = bitcoin_consensus_encoding::error::Decoder6Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error, <E as bitcoin_consensus_encoding::Decoder>::Error, <F as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output, <E as bitcoin_consensus_encoding::Decoder>::Output, <F as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::read_limit(&self) -> usize
impl<A, B, C, D> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Error = bitcoin_consensus_encoding::error::Decoder4Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error, <D as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder4<A, B, C, D>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::read_limit(&self) -> usize
impl<A, B, C> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Error = bitcoin_consensus_encoding::error::Decoder3Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error, <C as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder3<A, B, C>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::read_limit(&self) -> usize
impl<A, B> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Error = bitcoin_consensus_encoding::error::Decoder2Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output)
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
impl<const N: usize> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::ArrayDecoder<N>
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Error = bitcoin_consensus_encoding::error::UnexpectedEofError
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::DecoderStatus, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::read_limit(&self) -> usize
pub trait bitcoin_consensus_encoding::Encode
pub type bitcoin_consensus_encoding::Encode::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
pub fn bitcoin_consensus_encoding::Encode::encoder(&self) -> Self::Encoder
pub trait bitcoin_consensus_encoding::Encoder
-pub fn bitcoin_consensus_encoding::Encoder::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder::current_chunk(&self) -> &[u8]
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::BytesEncoder<'_>
-pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::BytesEncoder<'_>::current_chunk(&self) -> &[u8]
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::CompactSizeEncoder
-pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::CompactSizeEncoder::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder, E: bitcoin_consensus_encoding::Encoder, F: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>
-pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder6<A, B, C, D, E, F>::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder, D: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder4<A, B, C, D>
-pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder4<A, B, C, D>::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder, C: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder3<A, B, C>
-pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::current_chunk(&self) -> &[u8]
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder2<A, B>
-pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
-pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
impl<T: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for core::option::Option<T>
-pub fn core::option::Option<T>::advance(&mut self) -> bool
+pub fn core::option::Option<T>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn core::option::Option<T>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayEncoder<N>
-pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::current_chunk(&self) -> &[u8]
impl<const N: usize> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
-pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bool
+pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::advance(&mut self) -> bitcoin_consensus_encoding::EncoderStatus
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::current_chunk(&self) -> &[u8]
pub trait bitcoin_consensus_encoding::ExactSizeEncoder: bitcoin_consensus_encoding::Encoder
pub fn bitcoin_consensus_encoding::ExactSizeEncoder::is_empty(&self) -> bool
@@ -1429,5 +1509,7 @@ impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_co
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::len(&self) -> usize
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::len(&self) -> usize
+pub fn bitcoin_consensus_encoding::check_encode<T: bitcoin_consensus_encoding::Encode + ?core::marker::Sized>(value: &T, expected: &[u8])
+pub fn bitcoin_consensus_encoding::check_encoder<T: bitcoin_consensus_encoding::Encoder + ?core::marker::Sized>(encoder: &mut T, expected: &[u8])
pub fn bitcoin_consensus_encoding::decode_from_slice<T: bitcoin_consensus_encoding::Decode>(bytes: &[u8]) -> core::result::Result<T, bitcoin_consensus_encoding::error::DecodeError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>>
pub fn bitcoin_consensus_encoding::decode_from_slice_unbounded<T>(bytes: &mut &[u8]) -> core::result::Result<T, <<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error> where T: bitcoin_consensus_encoding::Decode
diff --git a/primitives/api/all-features.txt b/primitives/api/all-features.txt
index 4de264a8..de1cd65a 100644
--- a/primitives/api/all-features.txt
+++ b/primitives/api/all-features.txt
@@ -648,7 +648,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::BlockDecoder::Error = bitcoin_primitives::block::error::BlockDecoderError
pub type bitcoin_primitives::block::BlockDecoder::Output = bitcoin_primitives::block::Block
pub fn bitcoin_primitives::block::BlockDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::BlockDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::BlockDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::BlockDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::BlockDecoder
pub fn bitcoin_primitives::block::BlockDecoder::clone(&self) -> bitcoin_primitives::block::BlockDecoder
@@ -733,7 +733,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::error::BlockDecode
pub fn bitcoin_primitives::block::error::BlockDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::block::BlockEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockEncoder<'e>
-pub fn bitcoin_primitives::block::BlockEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::BlockEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::BlockEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> core::clone::Clone for bitcoin_primitives::block::BlockEncoder<'e>
pub fn bitcoin_primitives::block::BlockEncoder<'e>::clone(&self) -> bitcoin_primitives::block::BlockEncoder<'e>
@@ -865,7 +865,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::BlockHashDecoder::Error = bitcoin_primitives::block::BlockHashDecoderError
pub type bitcoin_primitives::block::BlockHashDecoder::Output = bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::block::BlockHashDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::BlockHashDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::block::BlockHashDecoder::clone(&self) -> bitcoin_primitives::block::BlockHashDecoder
@@ -950,7 +950,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::BlockHashDecoderEr
pub fn bitcoin_primitives::block::BlockHashDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::block::BlockHashEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockHashEncoder<'e>
-pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::len(&self) -> usize
@@ -1070,7 +1070,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::HeaderDecoder::Error = bitcoin_primitives::block::error::HeaderDecoderError
pub type bitcoin_primitives::block::HeaderDecoder::Output = bitcoin_primitives::block::Header
pub fn bitcoin_primitives::block::HeaderDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::HeaderDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::HeaderDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::HeaderDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::HeaderDecoder::clone(&self) -> bitcoin_primitives::block::HeaderDecoder
@@ -1109,7 +1109,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::HeaderDecoder::from(t: T) -> T
pub struct bitcoin_primitives::block::HeaderEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::HeaderEncoder<'e>
-pub fn bitcoin_primitives::block::HeaderEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::HeaderEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::HeaderEncoder<'e>::len(&self) -> usize
@@ -1323,7 +1323,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::VersionDecoder::Error = bitcoin_primitives::block::error::VersionDecoderError
pub type bitcoin_primitives::block::VersionDecoder::Output = bitcoin_primitives::block::Version
pub fn bitcoin_primitives::block::VersionDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::VersionDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::VersionDecoder
pub fn bitcoin_primitives::block::VersionDecoder::clone(&self) -> bitcoin_primitives::block::VersionDecoder
@@ -1408,7 +1408,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::error::VersionDeco
pub fn bitcoin_primitives::block::error::VersionDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::block::VersionEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::VersionEncoder<'e>
-pub fn bitcoin_primitives::block::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::VersionEncoder<'e>::len(&self) -> usize
@@ -1622,7 +1622,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::merkle_
pub type bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::Error = bitcoin_primitives::merkle_tree::TxMerkleNodeDecoderError
pub type bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::Output = bitcoin_primitives::merkle_tree::TxMerkleNode
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::clone(&self) -> bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
@@ -1707,7 +1707,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::merkle_tree::TxMerkleNode
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::len(&self) -> usize
@@ -2666,7 +2666,7 @@ impl<T> bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::scri
pub type bitcoin_primitives::script::ScriptBufDecoder<T>::Error = bitcoin_primitives::script::error::ScriptBufDecoderError
pub type bitcoin_primitives::script::ScriptBufDecoder<T>::Output = bitcoin_primitives::script::ScriptBuf<T>
pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::read_limit(&self) -> usize
impl<T> core::default::Default for bitcoin_primitives::script::ScriptBufDecoder<T>
pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::default() -> Self
@@ -2747,7 +2747,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::script::error::ScriptBufD
pub fn bitcoin_primitives::script::error::ScriptBufDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::script::ScriptEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::script::ScriptEncoder<'e>
-pub fn bitcoin_primitives::script::ScriptEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::script::ScriptEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::script::ScriptEncoder<'e>
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::len(&self) -> usize
@@ -3428,7 +3428,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::BlockHashDecoder::Error = bitcoin_primitives::block::BlockHashDecoderError
pub type bitcoin_primitives::block::BlockHashDecoder::Output = bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::block::BlockHashDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::BlockHashDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::block::BlockHashDecoder::clone(&self) -> bitcoin_primitives::block::BlockHashDecoder
@@ -3662,7 +3662,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::OutPointDecoder::Error = bitcoin_primitives::transaction::error::OutPointDecoderError
pub type bitcoin_primitives::transaction::OutPointDecoder::Output = bitcoin_primitives::transaction::OutPoint
pub fn bitcoin_primitives::transaction::OutPointDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::OutPointDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::OutPointDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::OutPointDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::OutPointDecoder
pub fn bitcoin_primitives::transaction::OutPointDecoder::clone(&self) -> bitcoin_primitives::transaction::OutPointDecoder
@@ -3747,7 +3747,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::OutPo
pub fn bitcoin_primitives::transaction::error::OutPointDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::OutPointEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
-pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::len(&self) -> usize
@@ -3917,7 +3917,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::TransactionDecoder::Error = bitcoin_primitives::transaction::error::TransactionDecoderError
pub type bitcoin_primitives::transaction::TransactionDecoder::Output = bitcoin_primitives::transaction::Transaction
pub fn bitcoin_primitives::transaction::TransactionDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::TransactionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::TransactionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::TransactionDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::TransactionDecoder
pub fn bitcoin_primitives::transaction::TransactionDecoder::clone(&self) -> bitcoin_primitives::transaction::TransactionDecoder
@@ -4002,7 +4002,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::Trans
pub fn bitcoin_primitives::transaction::error::TransactionDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::TransactionEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TransactionEncoder<'e>
-pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> core::clone::Clone for bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::clone(&self) -> bitcoin_primitives::transaction::TransactionEncoder<'e>
@@ -4101,7 +4101,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::TxInDecoder::Error = bitcoin_primitives::transaction::error::TxInDecoderError
pub type bitcoin_primitives::transaction::TxInDecoder::Output = bitcoin_primitives::transaction::TxIn
pub fn bitcoin_primitives::transaction::TxInDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::TxInDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::TxInDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::TxInDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::TxInDecoder
pub fn bitcoin_primitives::transaction::TxInDecoder::clone(&self) -> bitcoin_primitives::transaction::TxInDecoder
@@ -4186,7 +4186,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::TxInD
pub fn bitcoin_primitives::transaction::error::TxInDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::TxInEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TxInEncoder<'e>
-pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::TxInEncoder<'e>
pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::len(&self) -> usize
@@ -4283,7 +4283,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::TxOutDecoder::Error = bitcoin_primitives::transaction::error::TxOutDecoderError
pub type bitcoin_primitives::transaction::TxOutDecoder::Output = bitcoin_primitives::transaction::TxOut
pub fn bitcoin_primitives::transaction::TxOutDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::TxOutDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::TxOutDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::TxOutDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::TxOutDecoder
pub fn bitcoin_primitives::transaction::TxOutDecoder::clone(&self) -> bitcoin_primitives::transaction::TxOutDecoder
@@ -4368,7 +4368,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::TxOut
pub fn bitcoin_primitives::transaction::error::TxOutDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::TxOutEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TxOutEncoder<'e>
-pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::TxOutEncoder<'e>
pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::len(&self) -> usize
@@ -4571,7 +4571,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::VersionDecoder::Error = bitcoin_primitives::transaction::error::VersionDecoderError
pub type bitcoin_primitives::transaction::VersionDecoder::Output = bitcoin_primitives::transaction::Version
pub fn bitcoin_primitives::transaction::VersionDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::VersionDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::VersionDecoder
pub fn bitcoin_primitives::transaction::VersionDecoder::clone(&self) -> bitcoin_primitives::transaction::VersionDecoder
@@ -4656,7 +4656,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::Versi
pub fn bitcoin_primitives::transaction::error::VersionDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::VersionEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::VersionEncoder<'e>
-pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::len(&self) -> usize
@@ -4697,7 +4697,7 @@ pub struct bitcoin_primitives::transaction::WitnessesEncoder<'e>
impl<'e> bitcoin_primitives::transaction::WitnessesEncoder<'e>
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'e>::new(inputs: &'e [bitcoin_primitives::transaction::TxIn]) -> Self
impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::WitnessesEncoder<'_>
-pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::current_chunk(&self) -> &[u8]
impl<'e> core::clone::Clone for bitcoin_primitives::transaction::WitnessesEncoder<'e>
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'e>::clone(&self) -> bitcoin_primitives::transaction::WitnessesEncoder<'e>
@@ -5138,7 +5138,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::witness
pub type bitcoin_primitives::witness::WitnessDecoder::Error = bitcoin_primitives::witness::error::WitnessDecoderError
pub type bitcoin_primitives::witness::WitnessDecoder::Output = bitcoin_primitives::witness::Witness
pub fn bitcoin_primitives::witness::WitnessDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::witness::WitnessDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::witness::WitnessDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::witness::WitnessDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::witness::WitnessDecoder
pub fn bitcoin_primitives::witness::WitnessDecoder::clone(&self) -> bitcoin_primitives::witness::WitnessDecoder
@@ -5223,7 +5223,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::witness::error::WitnessDe
pub fn bitcoin_primitives::witness::error::WitnessDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::witness::WitnessEncoder<'e>(_)
impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::witness::WitnessEncoder<'_>
-pub fn bitcoin_primitives::witness::WitnessEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::witness::WitnessEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::witness::WitnessEncoder<'_>::current_chunk(&self) -> &[u8]
impl<'e> core::clone::Clone for bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::WitnessEncoder<'e>::clone(&self) -> bitcoin_primitives::witness::WitnessEncoder<'e>
diff --git a/primitives/api/alloc-only.txt b/primitives/api/alloc-only.txt
index 7e9a13ea..15d8fca1 100644
--- a/primitives/api/alloc-only.txt
+++ b/primitives/api/alloc-only.txt
@@ -526,7 +526,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::BlockDecoder::Error = bitcoin_primitives::block::error::BlockDecoderError
pub type bitcoin_primitives::block::BlockDecoder::Output = bitcoin_primitives::block::Block
pub fn bitcoin_primitives::block::BlockDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::BlockDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::BlockDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::BlockDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::BlockDecoder
pub fn bitcoin_primitives::block::BlockDecoder::clone(&self) -> bitcoin_primitives::block::BlockDecoder
@@ -609,7 +609,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::error::BlockDecode
pub fn bitcoin_primitives::block::error::BlockDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::block::BlockEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockEncoder<'e>
-pub fn bitcoin_primitives::block::BlockEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::BlockEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::BlockEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> core::clone::Clone for bitcoin_primitives::block::BlockEncoder<'e>
pub fn bitcoin_primitives::block::BlockEncoder<'e>::clone(&self) -> bitcoin_primitives::block::BlockEncoder<'e>
@@ -723,7 +723,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::BlockHashDecoder::Error = bitcoin_primitives::block::BlockHashDecoderError
pub type bitcoin_primitives::block::BlockHashDecoder::Output = bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::block::BlockHashDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::BlockHashDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::block::BlockHashDecoder::clone(&self) -> bitcoin_primitives::block::BlockHashDecoder
@@ -806,7 +806,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::BlockHashDecoderEr
pub fn bitcoin_primitives::block::BlockHashDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::block::BlockHashEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockHashEncoder<'e>
-pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::len(&self) -> usize
@@ -913,7 +913,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::HeaderDecoder::Error = bitcoin_primitives::block::error::HeaderDecoderError
pub type bitcoin_primitives::block::HeaderDecoder::Output = bitcoin_primitives::block::Header
pub fn bitcoin_primitives::block::HeaderDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::HeaderDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::HeaderDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::HeaderDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::HeaderDecoder::clone(&self) -> bitcoin_primitives::block::HeaderDecoder
@@ -952,7 +952,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::HeaderDecoder::from(t: T) -> T
pub struct bitcoin_primitives::block::HeaderEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::HeaderEncoder<'e>
-pub fn bitcoin_primitives::block::HeaderEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::HeaderEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::HeaderEncoder<'e>::len(&self) -> usize
@@ -1067,7 +1067,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::VersionDecoder::Error = bitcoin_primitives::block::error::VersionDecoderError
pub type bitcoin_primitives::block::VersionDecoder::Output = bitcoin_primitives::block::Version
pub fn bitcoin_primitives::block::VersionDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::VersionDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::VersionDecoder
pub fn bitcoin_primitives::block::VersionDecoder::clone(&self) -> bitcoin_primitives::block::VersionDecoder
@@ -1150,7 +1150,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::error::VersionDeco
pub fn bitcoin_primitives::block::error::VersionDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::block::VersionEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::VersionEncoder<'e>
-pub fn bitcoin_primitives::block::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::VersionEncoder<'e>::len(&self) -> usize
@@ -1328,7 +1328,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::merkle_
pub type bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::Error = bitcoin_primitives::merkle_tree::TxMerkleNodeDecoderError
pub type bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::Output = bitcoin_primitives::merkle_tree::TxMerkleNode
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::clone(&self) -> bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
@@ -1411,7 +1411,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::merkle_tree::TxMerkleNode
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::len(&self) -> usize
@@ -2213,7 +2213,7 @@ impl<T> bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::scri
pub type bitcoin_primitives::script::ScriptBufDecoder<T>::Error = bitcoin_primitives::script::error::ScriptBufDecoderError
pub type bitcoin_primitives::script::ScriptBufDecoder<T>::Output = bitcoin_primitives::script::ScriptBuf<T>
pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::read_limit(&self) -> usize
impl<T> core::default::Default for bitcoin_primitives::script::ScriptBufDecoder<T>
pub fn bitcoin_primitives::script::ScriptBufDecoder<T>::default() -> Self
@@ -2292,7 +2292,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::script::error::ScriptBufD
pub fn bitcoin_primitives::script::error::ScriptBufDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::script::ScriptEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::script::ScriptEncoder<'e>
-pub fn bitcoin_primitives::script::ScriptEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::script::ScriptEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::script::ScriptEncoder<'e>
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::len(&self) -> usize
@@ -2768,7 +2768,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::BlockHashDecoder::Error = bitcoin_primitives::block::BlockHashDecoderError
pub type bitcoin_primitives::block::BlockHashDecoder::Output = bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::block::BlockHashDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::BlockHashDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::block::BlockHashDecoder::clone(&self) -> bitcoin_primitives::block::BlockHashDecoder
@@ -2968,7 +2968,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::OutPointDecoder::Error = bitcoin_primitives::transaction::error::OutPointDecoderError
pub type bitcoin_primitives::transaction::OutPointDecoder::Output = bitcoin_primitives::transaction::OutPoint
pub fn bitcoin_primitives::transaction::OutPointDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::OutPointDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::OutPointDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::OutPointDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::OutPointDecoder
pub fn bitcoin_primitives::transaction::OutPointDecoder::clone(&self) -> bitcoin_primitives::transaction::OutPointDecoder
@@ -3051,7 +3051,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::OutPo
pub fn bitcoin_primitives::transaction::error::OutPointDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::OutPointEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
-pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::len(&self) -> usize
@@ -3162,7 +3162,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::TransactionDecoder::Error = bitcoin_primitives::transaction::error::TransactionDecoderError
pub type bitcoin_primitives::transaction::TransactionDecoder::Output = bitcoin_primitives::transaction::Transaction
pub fn bitcoin_primitives::transaction::TransactionDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::TransactionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::TransactionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::TransactionDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::TransactionDecoder
pub fn bitcoin_primitives::transaction::TransactionDecoder::clone(&self) -> bitcoin_primitives::transaction::TransactionDecoder
@@ -3245,7 +3245,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::Trans
pub fn bitcoin_primitives::transaction::error::TransactionDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::TransactionEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TransactionEncoder<'e>
-pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> core::clone::Clone for bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::clone(&self) -> bitcoin_primitives::transaction::TransactionEncoder<'e>
@@ -3342,7 +3342,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::TxInDecoder::Error = bitcoin_primitives::transaction::error::TxInDecoderError
pub type bitcoin_primitives::transaction::TxInDecoder::Output = bitcoin_primitives::transaction::TxIn
pub fn bitcoin_primitives::transaction::TxInDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::TxInDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::TxInDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::TxInDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::TxInDecoder
pub fn bitcoin_primitives::transaction::TxInDecoder::clone(&self) -> bitcoin_primitives::transaction::TxInDecoder
@@ -3425,7 +3425,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::TxInD
pub fn bitcoin_primitives::transaction::error::TxInDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::TxInEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TxInEncoder<'e>
-pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::TxInEncoder<'e>
pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::len(&self) -> usize
@@ -3520,7 +3520,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::TxOutDecoder::Error = bitcoin_primitives::transaction::error::TxOutDecoderError
pub type bitcoin_primitives::transaction::TxOutDecoder::Output = bitcoin_primitives::transaction::TxOut
pub fn bitcoin_primitives::transaction::TxOutDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::TxOutDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::TxOutDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::TxOutDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::TxOutDecoder
pub fn bitcoin_primitives::transaction::TxOutDecoder::clone(&self) -> bitcoin_primitives::transaction::TxOutDecoder
@@ -3603,7 +3603,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::TxOut
pub fn bitcoin_primitives::transaction::error::TxOutDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::TxOutEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TxOutEncoder<'e>
-pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::TxOutEncoder<'e>
pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::len(&self) -> usize
@@ -3781,7 +3781,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::VersionDecoder::Error = bitcoin_primitives::transaction::error::VersionDecoderError
pub type bitcoin_primitives::transaction::VersionDecoder::Output = bitcoin_primitives::transaction::Version
pub fn bitcoin_primitives::transaction::VersionDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::VersionDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::VersionDecoder
pub fn bitcoin_primitives::transaction::VersionDecoder::clone(&self) -> bitcoin_primitives::transaction::VersionDecoder
@@ -3864,7 +3864,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::Versi
pub fn bitcoin_primitives::transaction::error::VersionDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::VersionEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::VersionEncoder<'e>
-pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::len(&self) -> usize
@@ -3905,7 +3905,7 @@ pub struct bitcoin_primitives::transaction::WitnessesEncoder<'e>
impl<'e> bitcoin_primitives::transaction::WitnessesEncoder<'e>
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'e>::new(inputs: &'e [bitcoin_primitives::transaction::TxIn]) -> Self
impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::WitnessesEncoder<'_>
-pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::current_chunk(&self) -> &[u8]
impl<'e> core::clone::Clone for bitcoin_primitives::transaction::WitnessesEncoder<'e>
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'e>::clone(&self) -> bitcoin_primitives::transaction::WitnessesEncoder<'e>
@@ -4314,7 +4314,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::witness
pub type bitcoin_primitives::witness::WitnessDecoder::Error = bitcoin_primitives::witness::error::WitnessDecoderError
pub type bitcoin_primitives::witness::WitnessDecoder::Output = bitcoin_primitives::witness::Witness
pub fn bitcoin_primitives::witness::WitnessDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::witness::WitnessDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::witness::WitnessDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::witness::WitnessDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::witness::WitnessDecoder
pub fn bitcoin_primitives::witness::WitnessDecoder::clone(&self) -> bitcoin_primitives::witness::WitnessDecoder
@@ -4397,7 +4397,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::witness::error::WitnessDe
pub fn bitcoin_primitives::witness::error::WitnessDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::witness::WitnessEncoder<'e>(_)
impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::witness::WitnessEncoder<'_>
-pub fn bitcoin_primitives::witness::WitnessEncoder<'_>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::witness::WitnessEncoder<'_>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::witness::WitnessEncoder<'_>::current_chunk(&self) -> &[u8]
impl<'e> core::clone::Clone for bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::WitnessEncoder<'e>::clone(&self) -> bitcoin_primitives::witness::WitnessEncoder<'e>
diff --git a/primitives/api/no-features.txt b/primitives/api/no-features.txt
index 8e5da698..046d1993 100644
--- a/primitives/api/no-features.txt
+++ b/primitives/api/no-features.txt
@@ -272,7 +272,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::BlockHashDecoder::Error = bitcoin_primitives::block::BlockHashDecoderError
pub type bitcoin_primitives::block::BlockHashDecoder::Output = bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::block::BlockHashDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::BlockHashDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::block::BlockHashDecoder::clone(&self) -> bitcoin_primitives::block::BlockHashDecoder
@@ -345,7 +345,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::BlockHashDecoderEr
pub fn bitcoin_primitives::block::BlockHashDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::block::BlockHashEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockHashEncoder<'e>
-pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::len(&self) -> usize
@@ -444,7 +444,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::HeaderDecoder::Error = bitcoin_primitives::block::error::HeaderDecoderError
pub type bitcoin_primitives::block::HeaderDecoder::Output = bitcoin_primitives::block::Header
pub fn bitcoin_primitives::block::HeaderDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::HeaderDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::HeaderDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::HeaderDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::HeaderDecoder::clone(&self) -> bitcoin_primitives::block::HeaderDecoder
@@ -479,7 +479,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::HeaderDecoder::from(t: T) -> T
pub struct bitcoin_primitives::block::HeaderEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::HeaderEncoder<'e>
-pub fn bitcoin_primitives::block::HeaderEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::HeaderEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::HeaderEncoder<'e>::len(&self) -> usize
@@ -584,7 +584,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::VersionDecoder::Error = bitcoin_primitives::block::error::VersionDecoderError
pub type bitcoin_primitives::block::VersionDecoder::Output = bitcoin_primitives::block::Version
pub fn bitcoin_primitives::block::VersionDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::VersionDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::VersionDecoder
pub fn bitcoin_primitives::block::VersionDecoder::clone(&self) -> bitcoin_primitives::block::VersionDecoder
@@ -657,7 +657,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::block::error::VersionDeco
pub fn bitcoin_primitives::block::error::VersionDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::block::VersionEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::VersionEncoder<'e>
-pub fn bitcoin_primitives::block::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::block::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::VersionEncoder<'e>::len(&self) -> usize
@@ -815,7 +815,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::merkle_
pub type bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::Error = bitcoin_primitives::merkle_tree::TxMerkleNodeDecoderError
pub type bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::Output = bitcoin_primitives::merkle_tree::TxMerkleNode
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder::clone(&self) -> bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
@@ -888,7 +888,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::merkle_tree::TxMerkleNode
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::len(&self) -> usize
@@ -1068,7 +1068,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::block::
pub type bitcoin_primitives::block::BlockHashDecoder::Error = bitcoin_primitives::block::BlockHashDecoderError
pub type bitcoin_primitives::block::BlockHashDecoder::Output = bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::block::BlockHashDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::block::BlockHashDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::block::BlockHashDecoder::clone(&self) -> bitcoin_primitives::block::BlockHashDecoder
@@ -1250,7 +1250,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::OutPointDecoder::Error = bitcoin_primitives::transaction::error::OutPointDecoderError
pub type bitcoin_primitives::transaction::OutPointDecoder::Output = bitcoin_primitives::transaction::OutPoint
pub fn bitcoin_primitives::transaction::OutPointDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::OutPointDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::OutPointDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::OutPointDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::OutPointDecoder
pub fn bitcoin_primitives::transaction::OutPointDecoder::clone(&self) -> bitcoin_primitives::transaction::OutPointDecoder
@@ -1323,7 +1323,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::OutPo
pub fn bitcoin_primitives::transaction::error::OutPointDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::OutPointEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
-pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::len(&self) -> usize
@@ -1483,7 +1483,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_primitives::transac
pub type bitcoin_primitives::transaction::VersionDecoder::Error = bitcoin_primitives::transaction::error::VersionDecoderError
pub type bitcoin_primitives::transaction::VersionDecoder::Output = bitcoin_primitives::transaction::Version
pub fn bitcoin_primitives::transaction::VersionDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_primitives::transaction::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_primitives::transaction::VersionDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_primitives::transaction::VersionDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_primitives::transaction::VersionDecoder
pub fn bitcoin_primitives::transaction::VersionDecoder::clone(&self) -> bitcoin_primitives::transaction::VersionDecoder
@@ -1556,7 +1556,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::transaction::error::Versi
pub fn bitcoin_primitives::transaction::error::VersionDecoderError::from(t: T) -> T
pub struct bitcoin_primitives::transaction::VersionEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::VersionEncoder<'e>
-pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::len(&self) -> usize
diff --git a/units/api/all-features.txt b/units/api/all-features.txt
index d38de285..8d384a5d 100644
--- a/units/api/all-features.txt
+++ b/units/api/all-features.txt
@@ -615,7 +615,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_units::locktime::ab
pub type bitcoin_units::locktime::absolute::LockTimeDecoder::Error = bitcoin_units::locktime::absolute::error::LockTimeDecoderError
pub type bitcoin_units::locktime::absolute::LockTimeDecoder::Output = bitcoin_units::locktime::absolute::LockTime
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_units::locktime::absolute::LockTimeDecoder
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::clone(&self) -> bitcoin_units::locktime::absolute::LockTimeDecoder
@@ -700,7 +700,7 @@ impl<T> core::convert::From<T> for bitcoin_units::locktime::absolute::error::Loc
pub fn bitcoin_units::locktime::absolute::error::LockTimeDecoderError::from(t: T) -> T
pub struct bitcoin_units::absolute::LockTimeEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
-pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::len(&self) -> usize
@@ -1956,7 +1956,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_units::amount::Amou
pub type bitcoin_units::amount::AmountDecoder::Error = bitcoin_units::amount::error::AmountDecoderError
pub type bitcoin_units::amount::AmountDecoder::Output = bitcoin_units::Amount
pub fn bitcoin_units::amount::AmountDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_units::amount::AmountDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_units::amount::AmountDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_units::amount::AmountDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_units::amount::AmountDecoder
pub fn bitcoin_units::amount::AmountDecoder::clone(&self) -> bitcoin_units::amount::AmountDecoder
@@ -2041,7 +2041,7 @@ impl<T> core::convert::From<T> for bitcoin_units::amount::error::AmountDecoderEr
pub fn bitcoin_units::amount::error::AmountDecoderError::from(t: T) -> T
pub struct bitcoin_units::amount::AmountEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::amount::AmountEncoder<'e>
-pub fn bitcoin_units::amount::AmountEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::amount::AmountEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_units::amount::AmountEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::amount::AmountEncoder<'e>
pub fn bitcoin_units::amount::AmountEncoder<'e>::len(&self) -> usize
@@ -3108,7 +3108,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_units::block::Block
pub type bitcoin_units::block::BlockHeightDecoder::Error = bitcoin_units::block::error::BlockHeightDecoderError
pub type bitcoin_units::block::BlockHeightDecoder::Output = bitcoin_units::block::BlockHeight
pub fn bitcoin_units::block::BlockHeightDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_units::block::BlockHeightDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_units::block::BlockHeightDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_units::block::BlockHeightDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_units::block::BlockHeightDecoder
pub fn bitcoin_units::block::BlockHeightDecoder::clone(&self) -> bitcoin_units::block::BlockHeightDecoder
@@ -3193,7 +3193,7 @@ impl<T> core::convert::From<T> for bitcoin_units::block::error::BlockHeightDecod
pub fn bitcoin_units::block::error::BlockHeightDecoderError::from(t: T) -> T
pub struct bitcoin_units::block::BlockHeightEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::block::BlockHeightEncoder<'e>
-pub fn bitcoin_units::block::BlockHeightEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::block::BlockHeightEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_units::block::BlockHeightEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::block::BlockHeightEncoder<'e>
pub fn bitcoin_units::block::BlockHeightEncoder<'e>::len(&self) -> usize
@@ -4606,7 +4606,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_units::locktime::ab
pub type bitcoin_units::locktime::absolute::LockTimeDecoder::Error = bitcoin_units::locktime::absolute::error::LockTimeDecoderError
pub type bitcoin_units::locktime::absolute::LockTimeDecoder::Output = bitcoin_units::locktime::absolute::LockTime
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_units::locktime::absolute::LockTimeDecoder
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::clone(&self) -> bitcoin_units::locktime::absolute::LockTimeDecoder
@@ -4691,7 +4691,7 @@ impl<T> core::convert::From<T> for bitcoin_units::locktime::absolute::error::Loc
pub fn bitcoin_units::locktime::absolute::error::LockTimeDecoderError::from(t: T) -> T
pub struct bitcoin_units::locktime::absolute::LockTimeEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
-pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::len(&self) -> usize
@@ -6574,7 +6574,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_units::pow::Compact
pub type bitcoin_units::pow::CompactTargetDecoder::Error = bitcoin_units::pow::error::CompactTargetDecoderError
pub type bitcoin_units::pow::CompactTargetDecoder::Output = bitcoin_units::pow::CompactTarget
pub fn bitcoin_units::pow::CompactTargetDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_units::pow::CompactTargetDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_units::pow::CompactTargetDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_units::pow::CompactTargetDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_units::pow::CompactTargetDecoder
pub fn bitcoin_units::pow::CompactTargetDecoder::clone(&self) -> bitcoin_units::pow::CompactTargetDecoder
@@ -6659,7 +6659,7 @@ impl<T> core::convert::From<T> for bitcoin_units::pow::error::CompactTargetDecod
pub fn bitcoin_units::pow::error::CompactTargetDecoderError::from(t: T) -> T
pub struct bitcoin_units::pow::CompactTargetEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::pow::CompactTargetEncoder<'e>
-pub fn bitcoin_units::pow::CompactTargetEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::pow::CompactTargetEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_units::pow::CompactTargetEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::pow::CompactTargetEncoder<'e>
pub fn bitcoin_units::pow::CompactTargetEncoder<'e>::len(&self) -> usize
@@ -8841,7 +8841,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_units::sequence::Se
pub type bitcoin_units::sequence::SequenceDecoder::Error = bitcoin_units::sequence::error::SequenceDecoderError
pub type bitcoin_units::sequence::SequenceDecoder::Output = bitcoin_units::sequence::Sequence
pub fn bitcoin_units::sequence::SequenceDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_units::sequence::SequenceDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_units::sequence::SequenceDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_units::sequence::SequenceDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_units::sequence::SequenceDecoder
pub fn bitcoin_units::sequence::SequenceDecoder::clone(&self) -> bitcoin_units::sequence::SequenceDecoder
@@ -8926,7 +8926,7 @@ impl<T> core::convert::From<T> for bitcoin_units::sequence::error::SequenceDecod
pub fn bitcoin_units::sequence::error::SequenceDecoderError::from(t: T) -> T
pub struct bitcoin_units::sequence::SequenceEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::sequence::SequenceEncoder<'e>
-pub fn bitcoin_units::sequence::SequenceEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::sequence::SequenceEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_units::sequence::SequenceEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::sequence::SequenceEncoder<'e>
pub fn bitcoin_units::sequence::SequenceEncoder<'e>::len(&self) -> usize
@@ -9109,7 +9109,7 @@ impl bitcoin_consensus_encoding::decode::Decoder for bitcoin_units::time::BlockT
pub type bitcoin_units::time::BlockTimeDecoder::Error = bitcoin_units::time::error::BlockTimeDecoderError
pub type bitcoin_units::time::BlockTimeDecoder::Output = bitcoin_units::BlockTime
pub fn bitcoin_units::time::BlockTimeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
-pub fn bitcoin_units::time::BlockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_units::time::BlockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bitcoin_consensus_encoding::decode::DecoderStatus, Self::Error>
pub fn bitcoin_units::time::BlockTimeDecoder::read_limit(&self) -> usize
impl core::clone::Clone for bitcoin_units::time::BlockTimeDecoder
pub fn bitcoin_units::time::BlockTimeDecoder::clone(&self) -> bitcoin_units::time::BlockTimeDecoder
@@ -9194,7 +9194,7 @@ impl<T> core::convert::From<T> for bitcoin_units::time::error::BlockTimeDecoderE
pub fn bitcoin_units::time::error::BlockTimeDecoderError::from(t: T) -> T
pub struct bitcoin_units::time::BlockTimeEncoder<'e>(_, _)
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::time::BlockTimeEncoder<'e>
-pub fn bitcoin_units::time::BlockTimeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::time::BlockTimeEncoder<'e>::advance(&mut self) -> bitcoin_consensus_encoding::encode::EncoderStatus
pub fn bitcoin_units::time::BlockTimeEncoder<'e>::current_chunk(&self) -> &[u8]
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::time::BlockTimeEncoder<'e>
pub fn bitcoin_units::time::BlockTimeEncoder<'e>::len(&self) -> usize
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.