Trait tx_bakery::utils::pla_to_csl::TryToCSL
source · pub trait TryToCSL<T> {
type ExtraInfo<'a>;
// Required method
fn try_to_csl_with(
&self,
extra_info: Self::ExtraInfo<'_>
) -> Result<T, TryFromPLAError>;
}
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
DO NOT IMPLEMENT THIS DIRECTLY. Implement TryFromPLA
instead.
Required Associated Types§
Required Methods§
fn try_to_csl_with( &self, extra_info: Self::ExtraInfo<'_> ) -> Result<T, TryFromPLAError>
Object Safety§
This trait is not object safe.