pub struct ContractDebugWhiteboxLambda<F>where
F: FnOnce(),{ /* private fields */ }Implementations§
Source§impl<F> ContractDebugWhiteboxLambda<F>where
F: FnOnce(),
impl<F> ContractDebugWhiteboxLambda<F>where
F: FnOnce(),
pub fn new(function_name: TxFunctionName, whitebox_fn: F) -> Self
pub fn panic_message(self, panic_message_flag: bool) -> Self
Trait Implementations§
Source§impl<F> RuntimeInstanceCallLambda for ContractDebugWhiteboxLambda<F>where
F: FnOnce(),
impl<F> RuntimeInstanceCallLambda for ContractDebugWhiteboxLambda<F>where
F: FnOnce(),
fn call(self, instance_call: RuntimeInstanceCall<'_>)
fn override_function_name(&self) -> Option<TxFunctionName>
Auto Trait Implementations§
impl<F> Freeze for ContractDebugWhiteboxLambda<F>where
F: Freeze,
impl<F> RefUnwindSafe for ContractDebugWhiteboxLambda<F>where
F: RefUnwindSafe,
impl<F> Send for ContractDebugWhiteboxLambda<F>where
F: Send,
impl<F> Sync for ContractDebugWhiteboxLambda<F>where
F: Sync,
impl<F> Unpin for ContractDebugWhiteboxLambda<F>where
F: Unpin,
impl<F> UnsafeUnpin for ContractDebugWhiteboxLambda<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for ContractDebugWhiteboxLambda<F>where
F: UnwindSafe,
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> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more