Trait tx_bakery::utils::pla_to_csl::TryToCSLWithDef
source · pub trait TryToCSLWithDef<T>: TryToCSL<T> {
// Required method
fn try_to_csl(&self) -> Result<T, TryFromPLAError>;
}
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.
Required Methods§
fn try_to_csl(&self) -> Result<T, TryFromPLAError>
Object Safety§
This trait is not object safe.