pub struct RollbackHook {
pub index: u32,
pub component_index: u32,
pub function_name: String,
pub accessible_regions: Vec<u32>,
pub timeout_us: u64,
}Expand description
Rollback hook (WASM function for state rollback).
Fields§
§index: u32Hook index.
component_index: u32Component index this hook applies to.
function_name: StringWASM function name to call for rollback.
accessible_regions: Vec<u32>Regions this hook can access during rollback.
timeout_us: u64Timeout for rollback execution in microseconds.
Trait Implementations§
Source§impl Clone for RollbackHook
impl Clone for RollbackHook
Source§fn clone(&self) -> RollbackHook
fn clone(&self) -> RollbackHook
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RollbackHook
impl RefUnwindSafe for RollbackHook
impl Send for RollbackHook
impl Sync for RollbackHook
impl Unpin for RollbackHook
impl UnsafeUnpin for RollbackHook
impl UnwindSafe for RollbackHook
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