What changed, and why it matters
This commit only updates automatically-generated API listing files (text snapshots of public functions). It does not change any actual Rust source code, behavior, or fix any bug. There is no security relevance.
No action required; this is a routine API-snapshot maintenance commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates three api/units/*.txt files produced by just check-api. The additions are declarations of newly public traits/methods (FromStr, TryFrom<&str>, TryFrom<Box<str>>, TryFrom<String>) for BlockTime, CompactTarget, and Sequence, plus associated Err/Error type aliases. These are pure API-surface documentation artifacts; no implementation code is modified.
Changed components
api/units/all-features.txtapi/units/alloc-only.txtapi/units/no-features.txtInspect captured patch +58 / −0
diff --git a/api/units/all-features.txt b/api/units/all-features.txt
index 0f8f654a..e29e0d3e 100644
--- a/api/units/all-features.txt
+++ b/api/units/all-features.txt
@@ -324,6 +324,7 @@ impl core::convert::From<u32> for bitcoin_units::block::BlockHeight
impl core::convert::From<u32> for bitcoin_units::block::BlockHeightInterval
impl core::convert::From<u32> for bitcoin_units::block::BlockMtp
impl core::convert::From<u32> for bitcoin_units::block::BlockMtpInterval
+impl core::convert::TryFrom<&str> for bitcoin_units::BlockTime
impl core::convert::TryFrom<&str> for bitcoin_units::Weight
impl core::convert::TryFrom<&str> for bitcoin_units::block::BlockHeight
impl core::convert::TryFrom<&str> for bitcoin_units::block::BlockHeightInterval
@@ -334,7 +335,9 @@ impl core::convert::TryFrom<&str> for bitcoin_units::locktime::absolute::LockTim
impl core::convert::TryFrom<&str> for bitcoin_units::locktime::absolute::MedianTimePast
impl core::convert::TryFrom<&str> for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::convert::TryFrom<&str> for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::convert::TryFrom<&str> for bitcoin_units::pow::CompactTarget
impl core::convert::TryFrom<&str> for bitcoin_units::sequence::Sequence
+impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::BlockTime
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::Weight
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::block::BlockHeight
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::block::BlockHeightInterval
@@ -345,7 +348,9 @@ impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::locktime:
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::locktime::absolute::MedianTimePast
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::pow::CompactTarget
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::sequence::Sequence
+impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::BlockTime
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::Weight
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::block::BlockHeight
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::block::BlockHeightInterval
@@ -356,6 +361,7 @@ impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::locktime::
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::locktime::absolute::MedianTimePast
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::pow::CompactTarget
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::sequence::Sequence
impl core::convert::TryFrom<bitcoin_units::SignedAmount> for bitcoin_units::Amount
impl core::convert::TryFrom<bitcoin_units::block::BlockHeight> for bitcoin_units::locktime::absolute::Height
@@ -1345,6 +1351,7 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::sequence::SequenceD
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::time::BlockTimeDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::time::BlockTimeDecoderError
impl core::str::traits::FromStr for bitcoin_units::Amount
+impl core::str::traits::FromStr for bitcoin_units::BlockTime
impl core::str::traits::FromStr for bitcoin_units::SignedAmount
impl core::str::traits::FromStr for bitcoin_units::Weight
impl core::str::traits::FromStr for bitcoin_units::amount::Denomination
@@ -1357,6 +1364,7 @@ impl core::str::traits::FromStr for bitcoin_units::locktime::absolute::LockTime
impl core::str::traits::FromStr for bitcoin_units::locktime::absolute::MedianTimePast
impl core::str::traits::FromStr for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::str::traits::FromStr for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::str::traits::FromStr for bitcoin_units::pow::CompactTarget
impl core::str::traits::FromStr for bitcoin_units::sequence::Sequence
impl serde::ser::Serialize for bitcoin_units::BlockTime
impl serde::ser::Serialize for bitcoin_units::Weight
@@ -2010,9 +2018,13 @@ pub fn bitcoin_units::BlockTime::eq(&self, other: &bitcoin_units::BlockTime) ->
pub fn bitcoin_units::BlockTime::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_units::BlockTime::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::result::Result<(), core::fmt::Error>
pub fn bitcoin_units::BlockTime::from(t: u32) -> Self
+pub fn bitcoin_units::BlockTime::from_str(s: &str) -> core::result::Result<Self, Self::Err>
pub fn bitcoin_units::BlockTime::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin_units::BlockTime::partial_cmp(&self, other: &bitcoin_units::BlockTime) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin_units::BlockTime::serialize<S>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where S: serde::ser::Serializer
+pub fn bitcoin_units::BlockTime::try_from(s: &str) -> core::result::Result<Self, Self::Error>
+pub fn bitcoin_units::BlockTime::try_from(s: alloc::boxed::Box<str>) -> core::result::Result<Self, Self::Error>
+pub fn bitcoin_units::BlockTime::try_from(s: alloc::string::String) -> core::result::Result<Self, Self::Error>
pub fn bitcoin_units::FeeRate::add(self, rhs: &bitcoin_units::FeeRate) -> Self::Output
pub fn bitcoin_units::FeeRate::add(self, rhs: bitcoin_units::FeeRate) -> Self::Output
pub fn bitcoin_units::FeeRate::add_assign(&mut self, rhs: &bitcoin_units::FeeRate)
@@ -2569,11 +2581,15 @@ pub fn bitcoin_units::pow::CompactTarget::eq(&self, other: &bitcoin_units::pow::
pub fn bitcoin_units::pow::CompactTarget::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_units::pow::CompactTarget::from_consensus(bits: u32) -> Self
pub fn bitcoin_units::pow::CompactTarget::from_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::PrefixedHexError> where Self: core::marker::Sized
+pub fn bitcoin_units::pow::CompactTarget::from_str(s: &str) -> core::result::Result<Self, Self::Err>
pub fn bitcoin_units::pow::CompactTarget::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::UnprefixedHexError> where Self: core::marker::Sized
pub fn bitcoin_units::pow::CompactTarget::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin_units::pow::CompactTarget::partial_cmp(&self, other: &bitcoin_units::pow::CompactTarget) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin_units::pow::CompactTarget::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer
pub fn bitcoin_units::pow::CompactTarget::to_hex(self) -> alloc::string::String
+pub fn bitcoin_units::pow::CompactTarget::try_from(s: &str) -> core::result::Result<Self, Self::Error>
+pub fn bitcoin_units::pow::CompactTarget::try_from(s: alloc::boxed::Box<str>) -> core::result::Result<Self, Self::Error>
+pub fn bitcoin_units::pow::CompactTarget::try_from(s: alloc::string::String) -> core::result::Result<Self, Self::Error>
pub fn bitcoin_units::pow::CompactTargetDecoder::default() -> Self
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>
@@ -2989,6 +3005,8 @@ pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<bitc
pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<u64>
pub type bitcoin_units::BlockTime::Decoder = bitcoin_units::time::BlockTimeDecoder
pub type bitcoin_units::BlockTime::Encoder<'e> = bitcoin_units::time::BlockTimeEncoder<'e>
+pub type bitcoin_units::BlockTime::Err = bitcoin_units::parse_int::ParseIntError
+pub type bitcoin_units::BlockTime::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Add>::Output
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Div<core::num::nonzero::NonZero<u64>>>::Output
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Mul<bitcoin_units::Weight>>::Output
@@ -3075,6 +3093,8 @@ pub type bitcoin_units::locktime::relative::NumberOfBlocks::Error = bitcoin_unit
pub type bitcoin_units::locktime::relative::NumberOfBlocks::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::pow::CompactTarget::Decoder = bitcoin_units::pow::CompactTargetDecoder
pub type bitcoin_units::pow::CompactTarget::Encoder<'e> = bitcoin_units::pow::CompactTargetEncoder<'e>
+pub type bitcoin_units::pow::CompactTarget::Err = bitcoin_units::parse_int::ParseIntError
+pub type bitcoin_units::pow::CompactTarget::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::pow::CompactTargetDecoder::Error = bitcoin_units::pow::CompactTargetDecoderError
pub type bitcoin_units::pow::CompactTargetDecoder::Output = bitcoin_units::pow::CompactTarget
pub type bitcoin_units::result::NumOpResult<T>::Output = <bitcoin_units::result::NumOpResult<T> as core::ops::arith::Add<T>>::Output
diff --git a/api/units/alloc-only.txt b/api/units/alloc-only.txt
index 77973ae3..087c521f 100644
--- a/api/units/alloc-only.txt
+++ b/api/units/alloc-only.txt
@@ -271,6 +271,7 @@ impl core::convert::From<u32> for bitcoin_units::block::BlockHeight
impl core::convert::From<u32> for bitcoin_units::block::BlockHeightInterval
impl core::convert::From<u32> for bitcoin_units::block::BlockMtp
impl core::convert::From<u32> for bitcoin_units::block::BlockMtpInterval
+impl core::convert::TryFrom<&str> for bitcoin_units::BlockTime
impl core::convert::TryFrom<&str> for bitcoin_units::Weight
impl core::convert::TryFrom<&str> for bitcoin_units::block::BlockHeight
impl core::convert::TryFrom<&str> for bitcoin_units::block::BlockHeightInterval
@@ -281,7 +282,9 @@ impl core::convert::TryFrom<&str> for bitcoin_units::locktime::absolute::LockTim
impl core::convert::TryFrom<&str> for bitcoin_units::locktime::absolute::MedianTimePast
impl core::convert::TryFrom<&str> for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::convert::TryFrom<&str> for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::convert::TryFrom<&str> for bitcoin_units::pow::CompactTarget
impl core::convert::TryFrom<&str> for bitcoin_units::sequence::Sequence
+impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::BlockTime
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::Weight
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::block::BlockHeight
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::block::BlockHeightInterval
@@ -292,7 +295,9 @@ impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::locktime:
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::locktime::absolute::MedianTimePast
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::pow::CompactTarget
impl core::convert::TryFrom<alloc::boxed::Box<str>> for bitcoin_units::sequence::Sequence
+impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::BlockTime
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::Weight
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::block::BlockHeight
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::block::BlockHeightInterval
@@ -303,6 +308,7 @@ impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::locktime::
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::locktime::absolute::MedianTimePast
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::pow::CompactTarget
impl core::convert::TryFrom<alloc::string::String> for bitcoin_units::sequence::Sequence
impl core::convert::TryFrom<bitcoin_units::SignedAmount> for bitcoin_units::Amount
impl core::convert::TryFrom<bitcoin_units::block::BlockHeight> for bitcoin_units::locktime::absolute::Height
@@ -1139,6 +1145,7 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::result::MathOp
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::result::NumOpError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::sequence::Sequence
impl core::str::traits::FromStr for bitcoin_units::Amount
+impl core::str::traits::FromStr for bitcoin_units::BlockTime
impl core::str::traits::FromStr for bitcoin_units::SignedAmount
impl core::str::traits::FromStr for bitcoin_units::Weight
impl core::str::traits::FromStr for bitcoin_units::amount::Denomination
@@ -1151,6 +1158,7 @@ impl core::str::traits::FromStr for bitcoin_units::locktime::absolute::LockTime
impl core::str::traits::FromStr for bitcoin_units::locktime::absolute::MedianTimePast
impl core::str::traits::FromStr for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::str::traits::FromStr for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::str::traits::FromStr for bitcoin_units::pow::CompactTarget
impl core::str::traits::FromStr for bitcoin_units::sequence::Sequence
impl<'a, T> core::ops::arith::Add<&'a T> for &bitcoin_units::result::NumOpResult<T> where T: core::marker::Copy + core::ops::arith::Add<bitcoin_units::result::NumOpResult<T>, Output = bitcoin_units::result::NumOpResult<T>>
impl<'a, T> core::ops::arith::Add<&'a bitcoin_units::result::NumOpResult<T>> for &bitcoin_units::result::NumOpResult<T> where T: core::marker::Copy + core::ops::arith::Add<Output = bitcoin_units::result::NumOpResult<T>>
@@ -1691,8 +1699,12 @@ pub fn bitcoin_units::BlockTime::eq(&self, other: &bitcoin_units::BlockTime) ->
pub fn bitcoin_units::BlockTime::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_units::BlockTime::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::result::Result<(), core::fmt::Error>
pub fn bitcoin_units::BlockTime::from(t: u32) -> Self
+pub fn bitcoin_units::BlockTime::from_str(s: &str) -> core::result::Result<Self, Self::Err>
pub fn bitcoin_units::BlockTime::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin_units::BlockTime::partial_cmp(&self, other: &bitcoin_units::BlockTime) -> core::option::Option<core::cmp::Ordering>
+pub fn bitcoin_units::BlockTime::try_from(s: &str) -> core::result::Result<Self, Self::Error>
+pub fn bitcoin_units::BlockTime::try_from(s: alloc::boxed::Box<str>) -> core::result::Result<Self, Self::Error>
+pub fn bitcoin_units::BlockTime::try_from(s: alloc::string::String) -> core::result::Result<Self, Self::Error>
pub fn bitcoin_units::FeeRate::add(self, rhs: &bitcoin_units::FeeRate) -> Self::Output
pub fn bitcoin_units::FeeRate::add(self, rhs: bitcoin_units::FeeRate) -> Self::Output
pub fn bitcoin_units::FeeRate::add_assign(&mut self, rhs: &bitcoin_units::FeeRate)
@@ -2132,10 +2144,14 @@ pub fn bitcoin_units::pow::CompactTarget::eq(&self, other: &bitcoin_units::pow::
pub fn bitcoin_units::pow::CompactTarget::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_units::pow::CompactTarget::from_consensus(bits: u32) -> Self
pub fn bitcoin_units::pow::CompactTarget::from_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::PrefixedHexError> where Self: core::marker::Sized
+pub fn bitcoin_units::pow::CompactTarget::from_str(s: &str) -> core::result::Result<Self, Self::Err>
pub fn bitcoin_units::pow::CompactTarget::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::UnprefixedHexError> where Self: core::marker::Sized
pub fn bitcoin_units::pow::CompactTarget::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin_units::pow::CompactTarget::partial_cmp(&self, other: &bitcoin_units::pow::CompactTarget) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin_units::pow::CompactTarget::to_hex(self) -> alloc::string::String
+pub fn bitcoin_units::pow::CompactTarget::try_from(s: &str) -> core::result::Result<Self, Self::Error>
+pub fn bitcoin_units::pow::CompactTarget::try_from(s: alloc::boxed::Box<str>) -> core::result::Result<Self, Self::Error>
+pub fn bitcoin_units::pow::CompactTarget::try_from(s: alloc::string::String) -> core::result::Result<Self, Self::Error>
pub fn bitcoin_units::result::MathOp::clone(&self) -> bitcoin_units::result::MathOp
pub fn bitcoin_units::result::MathOp::eq(&self, other: &bitcoin_units::result::MathOp) -> bool
pub fn bitcoin_units::result::MathOp::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
@@ -2463,6 +2479,8 @@ pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<bitc
pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<bitcoin_units::FeeRate>
pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<bitcoin_units::Weight>
pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<u64>
+pub type bitcoin_units::BlockTime::Err = bitcoin_units::parse_int::ParseIntError
+pub type bitcoin_units::BlockTime::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Add>::Output
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Div<core::num::nonzero::NonZero<u64>>>::Output
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Mul<bitcoin_units::Weight>>::Output
@@ -2537,6 +2555,8 @@ pub type bitcoin_units::locktime::relative::NumberOf512Seconds::Error = bitcoin_
pub type bitcoin_units::locktime::relative::NumberOfBlocks::Err = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::locktime::relative::NumberOfBlocks::Error = bitcoin_units::block::TooBigForRelativeHeightError
pub type bitcoin_units::locktime::relative::NumberOfBlocks::Error = bitcoin_units::parse_int::ParseIntError
+pub type bitcoin_units::pow::CompactTarget::Err = bitcoin_units::parse_int::ParseIntError
+pub type bitcoin_units::pow::CompactTarget::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::result::NumOpResult<T>::Output = <bitcoin_units::result::NumOpResult<T> as core::ops::arith::Add<T>>::Output
pub type bitcoin_units::result::NumOpResult<T>::Output = <bitcoin_units::result::NumOpResult<T> as core::ops::arith::Add>::Output
pub type bitcoin_units::result::NumOpResult<T>::Output = <bitcoin_units::result::NumOpResult<T> as core::ops::arith::Sub<T>>::Output
diff --git a/api/units/no-features.txt b/api/units/no-features.txt
index d1899103..02a46af7 100644
--- a/api/units/no-features.txt
+++ b/api/units/no-features.txt
@@ -271,6 +271,7 @@ impl core::convert::From<u32> for bitcoin_units::block::BlockHeight
impl core::convert::From<u32> for bitcoin_units::block::BlockHeightInterval
impl core::convert::From<u32> for bitcoin_units::block::BlockMtp
impl core::convert::From<u32> for bitcoin_units::block::BlockMtpInterval
+impl core::convert::TryFrom<&str> for bitcoin_units::BlockTime
impl core::convert::TryFrom<&str> for bitcoin_units::Weight
impl core::convert::TryFrom<&str> for bitcoin_units::block::BlockHeight
impl core::convert::TryFrom<&str> for bitcoin_units::block::BlockHeightInterval
@@ -281,6 +282,8 @@ impl core::convert::TryFrom<&str> for bitcoin_units::locktime::absolute::LockTim
impl core::convert::TryFrom<&str> for bitcoin_units::locktime::absolute::MedianTimePast
impl core::convert::TryFrom<&str> for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::convert::TryFrom<&str> for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::convert::TryFrom<&str> for bitcoin_units::pow::CompactTarget
+impl core::convert::TryFrom<&str> for bitcoin_units::sequence::Sequence
impl core::convert::TryFrom<bitcoin_units::SignedAmount> for bitcoin_units::Amount
impl core::convert::TryFrom<bitcoin_units::block::BlockHeight> for bitcoin_units::locktime::absolute::Height
impl core::convert::TryFrom<bitcoin_units::block::BlockHeightInterval> for bitcoin_units::locktime::relative::NumberOfBlocks
@@ -1116,6 +1119,7 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::result::MathOp
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::result::NumOpError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::sequence::Sequence
impl core::str::traits::FromStr for bitcoin_units::Amount
+impl core::str::traits::FromStr for bitcoin_units::BlockTime
impl core::str::traits::FromStr for bitcoin_units::SignedAmount
impl core::str::traits::FromStr for bitcoin_units::Weight
impl core::str::traits::FromStr for bitcoin_units::amount::Denomination
@@ -1128,6 +1132,8 @@ impl core::str::traits::FromStr for bitcoin_units::locktime::absolute::LockTime
impl core::str::traits::FromStr for bitcoin_units::locktime::absolute::MedianTimePast
impl core::str::traits::FromStr for bitcoin_units::locktime::relative::NumberOf512Seconds
impl core::str::traits::FromStr for bitcoin_units::locktime::relative::NumberOfBlocks
+impl core::str::traits::FromStr for bitcoin_units::pow::CompactTarget
+impl core::str::traits::FromStr for bitcoin_units::sequence::Sequence
impl<'a, T> core::ops::arith::Add<&'a T> for &bitcoin_units::result::NumOpResult<T> where T: core::marker::Copy + core::ops::arith::Add<bitcoin_units::result::NumOpResult<T>, Output = bitcoin_units::result::NumOpResult<T>>
impl<'a, T> core::ops::arith::Add<&'a bitcoin_units::result::NumOpResult<T>> for &bitcoin_units::result::NumOpResult<T> where T: core::marker::Copy + core::ops::arith::Add<Output = bitcoin_units::result::NumOpResult<T>>
impl<'a, T> core::ops::arith::Sub<&'a T> for &bitcoin_units::result::NumOpResult<T> where T: core::marker::Copy + core::ops::arith::Sub<Output = bitcoin_units::result::NumOpResult<T>>
@@ -1661,8 +1667,10 @@ pub fn bitcoin_units::BlockTime::eq(&self, other: &bitcoin_units::BlockTime) ->
pub fn bitcoin_units::BlockTime::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_units::BlockTime::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::result::Result<(), core::fmt::Error>
pub fn bitcoin_units::BlockTime::from(t: u32) -> Self
+pub fn bitcoin_units::BlockTime::from_str(s: &str) -> core::result::Result<Self, Self::Err>
pub fn bitcoin_units::BlockTime::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin_units::BlockTime::partial_cmp(&self, other: &bitcoin_units::BlockTime) -> core::option::Option<core::cmp::Ordering>
+pub fn bitcoin_units::BlockTime::try_from(s: &str) -> core::result::Result<Self, Self::Error>
pub fn bitcoin_units::FeeRate::add(self, rhs: &bitcoin_units::FeeRate) -> Self::Output
pub fn bitcoin_units::FeeRate::add(self, rhs: bitcoin_units::FeeRate) -> Self::Output
pub fn bitcoin_units::FeeRate::add_assign(&mut self, rhs: &bitcoin_units::FeeRate)
@@ -2074,9 +2082,11 @@ pub fn bitcoin_units::pow::CompactTarget::eq(&self, other: &bitcoin_units::pow::
pub fn bitcoin_units::pow::CompactTarget::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_units::pow::CompactTarget::from_consensus(bits: u32) -> Self
pub fn bitcoin_units::pow::CompactTarget::from_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::PrefixedHexError> where Self: core::marker::Sized
+pub fn bitcoin_units::pow::CompactTarget::from_str(s: &str) -> core::result::Result<Self, Self::Err>
pub fn bitcoin_units::pow::CompactTarget::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::UnprefixedHexError> where Self: core::marker::Sized
pub fn bitcoin_units::pow::CompactTarget::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin_units::pow::CompactTarget::partial_cmp(&self, other: &bitcoin_units::pow::CompactTarget) -> core::option::Option<core::cmp::Ordering>
+pub fn bitcoin_units::pow::CompactTarget::try_from(s: &str) -> core::result::Result<Self, Self::Error>
pub fn bitcoin_units::result::MathOp::clone(&self) -> bitcoin_units::result::MathOp
pub fn bitcoin_units::result::MathOp::eq(&self, other: &bitcoin_units::result::MathOp) -> bool
pub fn bitcoin_units::result::MathOp::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
@@ -2184,6 +2194,7 @@ pub fn bitcoin_units::sequence::Sequence::from_height(height: u16) -> Self
pub fn bitcoin_units::sequence::Sequence::from_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::PrefixedHexError>
pub fn bitcoin_units::sequence::Sequence::from_seconds_ceil(seconds: u32) -> core::result::Result<Self, bitcoin_units::locktime::relative::error::TimeOverflowError>
pub fn bitcoin_units::sequence::Sequence::from_seconds_floor(seconds: u32) -> core::result::Result<Self, bitcoin_units::locktime::relative::error::TimeOverflowError>
+pub fn bitcoin_units::sequence::Sequence::from_str(s: &str) -> core::result::Result<Self, Self::Err>
pub fn bitcoin_units::sequence::Sequence::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::UnprefixedHexError>
pub fn bitcoin_units::sequence::Sequence::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin_units::sequence::Sequence::is_final(self) -> bool
@@ -2193,6 +2204,7 @@ pub fn bitcoin_units::sequence::Sequence::is_relative_lock_time(self) -> bool
pub fn bitcoin_units::sequence::Sequence::is_time_locked(self) -> bool
pub fn bitcoin_units::sequence::Sequence::partial_cmp(&self, other: &bitcoin_units::sequence::Sequence) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin_units::sequence::Sequence::to_relative_lock_time(self) -> core::option::Option<bitcoin_units::locktime::relative::LockTime>
+pub fn bitcoin_units::sequence::Sequence::try_from(s: &str) -> core::result::Result<Self, Self::Error>
pub fn core::num::error::ParseIntError::from(value: bitcoin_units::parse_int::ParseIntError) -> Self
pub fn i64::mul(self, rhs: &bitcoin_units::SignedAmount) -> Self::Output
pub fn i64::mul(self, rhs: &bitcoin_units::result::NumOpResult<bitcoin_units::SignedAmount>) -> Self::Output
@@ -2399,6 +2411,8 @@ pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<bitc
pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<bitcoin_units::FeeRate>
pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<bitcoin_units::Weight>
pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<u64>
+pub type bitcoin_units::BlockTime::Err = bitcoin_units::parse_int::ParseIntError
+pub type bitcoin_units::BlockTime::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Add>::Output
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Div<core::num::nonzero::NonZero<u64>>>::Output
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Mul<bitcoin_units::Weight>>::Output
@@ -2473,6 +2487,8 @@ pub type bitcoin_units::locktime::relative::NumberOf512Seconds::Error = bitcoin_
pub type bitcoin_units::locktime::relative::NumberOfBlocks::Err = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::locktime::relative::NumberOfBlocks::Error = bitcoin_units::block::TooBigForRelativeHeightError
pub type bitcoin_units::locktime::relative::NumberOfBlocks::Error = bitcoin_units::parse_int::ParseIntError
+pub type bitcoin_units::pow::CompactTarget::Err = bitcoin_units::parse_int::ParseIntError
+pub type bitcoin_units::pow::CompactTarget::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::result::NumOpResult<T>::Output = <bitcoin_units::result::NumOpResult<T> as core::ops::arith::Add<T>>::Output
pub type bitcoin_units::result::NumOpResult<T>::Output = <bitcoin_units::result::NumOpResult<T> as core::ops::arith::Add>::Output
pub type bitcoin_units::result::NumOpResult<T>::Output = <bitcoin_units::result::NumOpResult<T> as core::ops::arith::Sub<T>>::Output
@@ -2498,6 +2514,8 @@ pub type bitcoin_units::result::NumOpResult<bitcoin_units::SignedAmount>::Output
pub type bitcoin_units::result::NumOpResult<bitcoin_units::Weight>::Output = <bitcoin_units::result::NumOpResult<bitcoin_units::Weight> as core::ops::arith::Mul<bitcoin_units::FeeRate>>::Output
pub type bitcoin_units::result::NumOpResult<bitcoin_units::Weight>::Output = <bitcoin_units::result::NumOpResult<bitcoin_units::Weight> as core::ops::arith::Mul<bitcoin_units::result::NumOpResult<bitcoin_units::FeeRate>>>::Output
pub type bitcoin_units::result::NumOpResult<bitcoin_units::Weight>::Output = bitcoin_units::result::NumOpResult<bitcoin_units::Amount>
+pub type bitcoin_units::sequence::Sequence::Err = bitcoin_units::parse_int::ParseIntError
+pub type bitcoin_units::sequence::Sequence::Error = bitcoin_units::parse_int::ParseIntError
pub type i64::Output = <i64 as core::ops::arith::Mul<bitcoin_units::SignedAmount>>::Output
pub type i64::Output = <i64 as core::ops::arith::Mul<bitcoin_units::result::NumOpResult<bitcoin_units::SignedAmount>>>::Output
pub type i64::Output = bitcoin_units::result::NumOpResult<bitcoin_units::SignedAmount>
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.