pub struct FallbackHandler;Expand description
Default handler that always falls back to the ink function body.
Use this as the handler argument to FlowInstance::step_single_line
or FlowInstance::choose when you don’t want to provide a custom
external-function binding registry. Every external call returns
ExternalResult::Fallback, delegating to the in-story fallback
container declared on the EXTERNAL declaration.
Trait Implementations§
Source§impl ExternalFnHandler for FallbackHandler
impl ExternalFnHandler for FallbackHandler
Auto Trait Implementations§
impl Freeze for FallbackHandler
impl RefUnwindSafe for FallbackHandler
impl Send for FallbackHandler
impl Sync for FallbackHandler
impl Unpin for FallbackHandler
impl UnsafeUnpin for FallbackHandler
impl UnwindSafe for FallbackHandler
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