pub struct LDC(/* private fields */);
Expand description
Load code as executable either from contract, blob, or memory.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for LDC
impl<'de> Deserialize<'de> for LDC
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<LDC> for Instruction
impl From<LDC> for Instruction
source§impl FromWasmAbi for LDC
impl FromWasmAbi for LDC
source§impl IntoWasmAbi for LDC
impl IntoWasmAbi for LDC
source§impl LongRefFromWasmAbi for LDC
impl LongRefFromWasmAbi for LDC
source§impl OptionFromWasmAbi for LDC
impl OptionFromWasmAbi for LDC
source§impl OptionIntoWasmAbi for LDC
impl OptionIntoWasmAbi for LDC
source§impl RefFromWasmAbi for LDC
impl RefFromWasmAbi for LDC
source§impl RefMutFromWasmAbi for LDC
impl RefMutFromWasmAbi for LDC
source§impl TryFromJsValue for LDC
impl TryFromJsValue for LDC
source§impl VectorFromWasmAbi for LDC
impl VectorFromWasmAbi for LDC
source§impl VectorIntoWasmAbi for LDC
impl VectorIntoWasmAbi for LDC
impl Copy for LDC
impl Eq for LDC
impl StructuralPartialEq for LDC
Auto Trait Implementations§
impl Freeze for LDC
impl RefUnwindSafe for LDC
impl Send for LDC
impl Sync for LDC
impl Unpin for LDC
impl UnwindSafe for LDC
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§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
.