Macro bitcoin_units::impl_tryfrom_str

source ยท
macro_rules! impl_tryfrom_str {
    ($($from:ty, $to:ty, $err:ty, $inner_fn:expr);*) => { ... };
}
Available on crate feature alloc only.
Expand description

Implements TryFrom<$from> for $to.