Trait tx_bakery::utils::pla_to_csl::TryFromPLA
source · pub trait TryFromPLA<T> {
type ExtraInfo<'a>;
// Required method
fn try_from_pla_with(
val: &T,
extra_info: Self::ExtraInfo<'_>
) -> Result<Self, TryFromPLAError>
where Self: Sized;
}
Expand description
Convert a plutus-ledger-api type to its cardano-serialization-lib counterpart
try_to_csl_with
accepts extra data where the PLA data itself is not enough
Required Associated Types§
Required Methods§
fn try_from_pla_with(
val: &T,
extra_info: Self::ExtraInfo<'_>
) -> Result<Self, TryFromPLAError>where
Self: Sized,
Object Safety§
This trait is not object safe.