Trait bc_ur::URDecodable
source · pub trait URDecodable: CBORTaggedDecodable {
// Provided methods
fn from_ur(ur: impl AsRef<UR>) -> Result<Self>
where Self: Sized { ... }
fn from_ur_string(ur_string: impl Into<String>) -> Result<Self>
where Self: Sized { ... }
}Expand description
A type that can be decoded from a UR.
Provided Methods§
fn from_ur(ur: impl AsRef<UR>) -> Result<Self>where
Self: Sized,
fn from_ur_string(ur_string: impl Into<String>) -> Result<Self>where
Self: Sized,
Object Safety§
This trait is not object safe.