pub struct RVRT(/* private fields */);
Expand description
Halt execution, reverting state changes and returning a value.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for RVRT
impl<'de> Deserialize<'de> for RVRT
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<RVRT> for Instruction
impl From<RVRT> for Instruction
source§impl FromWasmAbi for RVRT
impl FromWasmAbi for RVRT
source§impl IntoWasmAbi for RVRT
impl IntoWasmAbi for RVRT
source§impl LongRefFromWasmAbi for RVRT
impl LongRefFromWasmAbi for RVRT
source§impl OptionFromWasmAbi for RVRT
impl OptionFromWasmAbi for RVRT
source§impl OptionIntoWasmAbi for RVRT
impl OptionIntoWasmAbi for RVRT
source§impl PartialEq for RVRT
impl PartialEq for RVRT
source§impl RefFromWasmAbi for RVRT
impl RefFromWasmAbi for RVRT
source§impl RefMutFromWasmAbi for RVRT
impl RefMutFromWasmAbi for RVRT
source§impl TryFromJsValue for RVRT
impl TryFromJsValue for RVRT
source§impl VectorFromWasmAbi for RVRT
impl VectorFromWasmAbi for RVRT
source§impl VectorIntoWasmAbi for RVRT
impl VectorIntoWasmAbi for RVRT
impl Copy for RVRT
impl Eq for RVRT
impl StructuralPartialEq for RVRT
Auto Trait Implementations§
impl Freeze for RVRT
impl RefUnwindSafe for RVRT
impl Send for RVRT
impl Sync for RVRT
impl Unpin for RVRT
impl UnwindSafe for RVRT
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> 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::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
.