[−][src]Trait exonum_rust_runtime::ServiceDispatcher
Describes how the service instance should dispatch specific method calls with consideration of the interface where the method belongs.
Usually, ServiceDispatcher
can be derived using the
ServiceDispatcher
macro.
Required methods
fn call(
&self,
context: ExecutionContext,
method: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>
&self,
context: ExecutionContext,
method: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>
Dispatches the interface method call within the specified context.