[][src]Trait exonum_rust_runtime::GenericCallMut

pub trait GenericCallMut<Ctx> {
    type Output;
    fn generic_call_mut(
        &mut self,
        context: Ctx,
        method: MethodDescriptor,
        args: Vec<u8>
    ) -> Self::Output; }

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.

Loading content...

Required methods

fn generic_call_mut(
    &mut self,
    context: Ctx,
    method: MethodDescriptor,
    args: Vec<u8>
) -> Self::Output

Calls a stub method.

Loading content...

Implementors

impl<'a, I> GenericCallMut<I> for ExecutionContext<'a> where
    I: Into<InstanceQuery<'a>>, 
[src]

type Output = Result<(), ExecutionError>

Loading content...