pub trait 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
try_to_csl_with accepts extra data where the PLA data itself is not enough
DO NOT IMPLEMENT THIS DIRECTLY. Implement TryFromPLA instead.