[−][src]Trait exonum_rust_runtime::GenericCallMut
Generic / low-level stub implementation which is defined for any method in any interface.
Differs from GenericCall
by taking self
by the mutable reference.
Implementors should implement GenericCallMut
only when using GenericCall
is impossible.
Associated Types
type Output
Type of values output by the stub.
Required methods
fn generic_call_mut(
&mut self,
context: Ctx,
method: MethodDescriptor,
args: Vec<u8>
) -> Self::Output
&mut self,
context: Ctx,
method: MethodDescriptor,
args: Vec<u8>
) -> Self::Output
Calls a stub method.
Implementors
impl<'a, I> GenericCallMut<I> for ExecutionContext<'a> where
I: Into<InstanceQuery<'a>>,
[src]
I: Into<InstanceQuery<'a>>,
type Output = Result<(), ExecutionError>
fn generic_call_mut(
&mut self,
called_instance: I,
method: MethodDescriptor,
args: Vec<u8>
) -> Self::Output
[src]
&mut self,
called_instance: I,
method: MethodDescriptor,
args: Vec<u8>
) -> Self::Output