[−][src]Trait exonum_rust_runtime::Interface
A service interface specification.
Associated Constants
const INTERFACE_NAME: &'static str
Fully qualified name of this interface.
Required methods
fn dispatch(
&self,
context: ExecutionContext<'a>,
method: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>
&self,
context: ExecutionContext<'a>,
method: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>
Invokes the specified method handler of the service instance.