Trait oasis_runtime_sdk::module::MethodHandler

source ·
pub trait MethodHandler {
    // Provided methods
    fn prefetch(
        _prefixes: &mut BTreeSet<Prefix>,
        _method: &str,
        body: Value,
        _auth_info: &AuthInfo,
    ) -> DispatchResult<Value, Result<(), RuntimeError>> { ... }
    fn dispatch_call<C: Context>(
        _ctx: &C,
        _method: &str,
        body: Value,
    ) -> DispatchResult<Value, CallResult> { ... }
    fn dispatch_query<C: Context>(
        _ctx: &C,
        _method: &str,
        args: Value,
    ) -> DispatchResult<Value, Result<Value, RuntimeError>> { ... }
    fn dispatch_message_result<C: Context>(
        _ctx: &C,
        _handler_name: &str,
        result: MessageResult,
    ) -> DispatchResult<MessageResult, ()> { ... }
    fn supported_methods() -> Vec<MethodHandlerInfo> { ... }
    fn is_expensive_query(_method: &str) -> bool { ... }
    fn is_allowed_private_km_query(_method: &str) -> bool { ... }
    fn is_allowed_interactive_call(_method: &str) -> bool { ... }
}
Expand description

Method handler.

Provided Methods§

source

fn prefetch( _prefixes: &mut BTreeSet<Prefix>, _method: &str, body: Value, _auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

Add storage prefixes to prefetch.

source

fn dispatch_call<C: Context>( _ctx: &C, _method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

Dispatch a call.

source

fn dispatch_query<C: Context>( _ctx: &C, _method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

Dispatch a query.

source

fn dispatch_message_result<C: Context>( _ctx: &C, _handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

Dispatch a message result.

source

fn supported_methods() -> Vec<MethodHandlerInfo>

Lists the names of all RPC methods exposed by this module. The result is informational only. An empty return vector means that the implementor does not care to list the methods, or the implementor is a tuple of modules.

source

fn is_expensive_query(_method: &str) -> bool

Checks whether the given query method is tagged as expensive.

source

fn is_allowed_private_km_query(_method: &str) -> bool

Checks whether the given query is allowed to access private key manager state.

source

fn is_allowed_interactive_call(_method: &str) -> bool

Checks whether the given call is allowed to be called interactively via read-only transactions.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MethodHandler for ()

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler> MethodHandler for (TupleElement0,)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler> MethodHandler for (TupleElement0, TupleElement1)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler, TupleElement21: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler, TupleElement21: MethodHandler, TupleElement22: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler, TupleElement21: MethodHandler, TupleElement22: MethodHandler, TupleElement23: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler, TupleElement21: MethodHandler, TupleElement22: MethodHandler, TupleElement23: MethodHandler, TupleElement24: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler, TupleElement21: MethodHandler, TupleElement22: MethodHandler, TupleElement23: MethodHandler, TupleElement24: MethodHandler, TupleElement25: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler, TupleElement21: MethodHandler, TupleElement22: MethodHandler, TupleElement23: MethodHandler, TupleElement24: MethodHandler, TupleElement25: MethodHandler, TupleElement26: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler, TupleElement21: MethodHandler, TupleElement22: MethodHandler, TupleElement23: MethodHandler, TupleElement24: MethodHandler, TupleElement25: MethodHandler, TupleElement26: MethodHandler, TupleElement27: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler, TupleElement21: MethodHandler, TupleElement22: MethodHandler, TupleElement23: MethodHandler, TupleElement24: MethodHandler, TupleElement25: MethodHandler, TupleElement26: MethodHandler, TupleElement27: MethodHandler, TupleElement28: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

source§

impl<TupleElement0: MethodHandler, TupleElement1: MethodHandler, TupleElement2: MethodHandler, TupleElement3: MethodHandler, TupleElement4: MethodHandler, TupleElement5: MethodHandler, TupleElement6: MethodHandler, TupleElement7: MethodHandler, TupleElement8: MethodHandler, TupleElement9: MethodHandler, TupleElement10: MethodHandler, TupleElement11: MethodHandler, TupleElement12: MethodHandler, TupleElement13: MethodHandler, TupleElement14: MethodHandler, TupleElement15: MethodHandler, TupleElement16: MethodHandler, TupleElement17: MethodHandler, TupleElement18: MethodHandler, TupleElement19: MethodHandler, TupleElement20: MethodHandler, TupleElement21: MethodHandler, TupleElement22: MethodHandler, TupleElement23: MethodHandler, TupleElement24: MethodHandler, TupleElement25: MethodHandler, TupleElement26: MethodHandler, TupleElement27: MethodHandler, TupleElement28: MethodHandler, TupleElement29: MethodHandler> MethodHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)

source§

fn prefetch( prefixes: &mut BTreeSet<Prefix>, method: &str, body: Value, auth_info: &AuthInfo, ) -> DispatchResult<Value, Result<(), RuntimeError>>

source§

fn dispatch_call<C: Context>( ctx: &C, method: &str, body: Value, ) -> DispatchResult<Value, CallResult>

source§

fn dispatch_query<C: Context>( ctx: &C, method: &str, args: Value, ) -> DispatchResult<Value, Result<Value, RuntimeError>>

source§

fn dispatch_message_result<C: Context>( ctx: &C, handler_name: &str, result: MessageResult, ) -> DispatchResult<MessageResult, ()>

source§

fn is_expensive_query(method: &str) -> bool

source§

fn is_allowed_private_km_query(method: &str) -> bool

source§

fn is_allowed_interactive_call(method: &str) -> bool

Implementors§

source§

impl MethodHandler for oasis_runtime_sdk::modules::accounts::Module

source§

impl MethodHandler for oasis_runtime_sdk::modules::consensus::Module

source§

impl MethodHandler for oasis_runtime_sdk::modules::rewards::Module

source§

impl<Cfg: Config> MethodHandler for oasis_runtime_sdk::modules::access::Module<Cfg>

source§

impl<Cfg: Config> MethodHandler for oasis_runtime_sdk::modules::core::Module<Cfg>

source§

impl<Cfg: Config> MethodHandler for oasis_runtime_sdk::modules::rofl::Module<Cfg>

source§

impl<Consensus: API> MethodHandler for oasis_runtime_sdk::modules::consensus_accounts::Module<Consensus>