Struct ink_env::ReturnFlags
source · [−]pub struct ReturnFlags { /* private fields */ }
Expand description
The flags to indicate further information about the end of a contract execution.
Implementations
sourceimpl ReturnFlags
impl ReturnFlags
sourcepub fn set_reverted(self, has_reverted: bool) -> Self
pub fn set_reverted(self, has_reverted: bool) -> Self
Sets the bit to indicate that the execution is going to be reverted.
Trait Implementations
sourceimpl Default for ReturnFlags
impl Default for ReturnFlags
sourcefn default() -> ReturnFlags
fn default() -> ReturnFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReturnFlags
impl Send for ReturnFlags
impl Sync for ReturnFlags
impl Unpin for ReturnFlags
impl UnwindSafe for ReturnFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more