Trait bitcoin::script::PushBytesErrorReport
source · pub trait PushBytesErrorReport {
// Required method
fn input_len(&self) -> usize;
}
Expand description
Reports information about failed conversion into PushBytes
.
This should not be needed by general public, except as an additional bound on TryFrom
when
converting to WitnessProgram
.
Required Methods§
Implementations on Foreign Types§
source§impl PushBytesErrorReport for Infallible
impl PushBytesErrorReport for Infallible
Implementors§
impl PushBytesErrorReport for PushBytesError
Available on neither 16-bit nor 32-bit.