Trait bitcoin_units::parse::Integer

source ·
pub trait Integer: FromStr<Err = ParseIntError> + TryFrom<i8> + Sized { }
Available on crate feature alloc only.
Expand description

Not strictly necessary but serves as a lint - avoids weird behavior if someone accidentally passes non-integer to the parse() function.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Integer for i8

source§

impl Integer for i16

source§

impl Integer for i32

source§

impl Integer for i64

source§

impl Integer for i128

source§

impl Integer for u8

source§

impl Integer for u16

source§

impl Integer for u32

source§

impl Integer for u64

source§

impl Integer for u128

Implementors§