BitcoinDataType

Trait BitcoinDataType 

Source
pub trait BitcoinDataType {
    type Type;

    // Required methods
    fn to_data(&self) -> Self::Type;
    fn to_pushop(&self) -> Op;
    fn to_data_type(&self) -> DataType;
}

Required Associated Types§

Required Methods§

Source

fn to_data(&self) -> Self::Type

Source

fn to_pushop(&self) -> Op

Source

fn to_data_type(&self) -> DataType

Implementations on Foreign Types§

Source§

impl BitcoinDataType for bool

Source§

impl BitcoinDataType for i32

Source§

impl BitcoinDataType for [u8]

Implementors§