Enum cml_chain_wasm::ScriptKind
source · pub enum ScriptKind {
Native,
PlutusV1,
PlutusV2,
PlutusV3,
}Variants§
Trait Implementations§
source§impl FromWasmAbi for ScriptKind
impl FromWasmAbi for ScriptKind
source§impl IntoWasmAbi for ScriptKind
impl IntoWasmAbi for ScriptKind
source§impl OptionFromWasmAbi for ScriptKind
impl OptionFromWasmAbi for ScriptKind
source§impl OptionIntoWasmAbi for ScriptKind
impl OptionIntoWasmAbi for ScriptKind
Auto Trait Implementations§
impl Freeze for ScriptKind
impl RefUnwindSafe for ScriptKind
impl Send for ScriptKind
impl Sync for ScriptKind
impl Unpin for ScriptKind
impl UnwindSafe for ScriptKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.