pub enum ActionHandler {
Standard(StandardAction),
Custom(String),
}Expand description
Action handler variants
Variants§
Standard(StandardAction)
Standard action handled by host
Custom(String)
Custom action requiring WASM execution
Trait Implementations§
Source§impl Clone for ActionHandler
impl Clone for ActionHandler
Source§fn clone(&self) -> ActionHandler
fn clone(&self) -> ActionHandler
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 ActionHandler
impl RefUnwindSafe for ActionHandler
impl Send for ActionHandler
impl Sync for ActionHandler
impl Unpin for ActionHandler
impl UnwindSafe for ActionHandler
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