Trait tx_bakery::utils::pla_to_csl::TryFromPLAWithDef
source · pub trait TryFromPLAWithDef<T> {
// Required method
fn try_from_pla(val: &T) -> Result<Self, TryFromPLAError>
where Self: Sized;
}
Expand description
Convert a plutus-ledger-api type to its cardano-serialization-lib counterpart for cases where the csl data can be fully constructed from the pla data
DO NOT IMPLEMENT THIS DIRECTLY. Implement TryFromPLA
instead.