Trait Deserialize
pub trait Deserialize: Sized {
// Required method
fn deserialize(bytes: &[u8]) -> Result<Self, Error>;
}
Expand description
A trait for deserializing a value from raw data in PSBT key-value pairs.
Required Methods§
fn deserialize(bytes: &[u8]) -> Result<Self, Error>
fn deserialize(bytes: &[u8]) -> Result<Self, Error>
Deserialize a value from raw data.
Object Safety§
This trait is not object safe.