Trait bc_ur::URDecodable

source ·
pub trait URDecodable: CBORTaggedDecodable {
    // Provided methods
    fn from_ur(ur: &UR) -> Result<Self>
       where Self: Sized { ... }
    fn from_ur_string<T: Into<String>>(ur_string: T) -> Result<Self>
       where Self: Sized { ... }
}
Expand description

A type that can be decoded from a UR.

Provided Methods§

source

fn from_ur(ur: &UR) -> Result<Self>where Self: Sized,

source

fn from_ur_string<T: Into<String>>(ur_string: T) -> Result<Self>where Self: Sized,

Object Safety§

This trait is not object safe.

Implementors§