bdk_chain::bitcoin::blockdata::script

Trait PushBytesErrorReport

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§

fn input_len(&self) -> usize

How many bytes the input had.

Implementations on Foreign Types§

§

impl PushBytesErrorReport for Infallible

§

fn input_len(&self) -> usize

Implementors§