Skip to main content

dispatch_storage

Function dispatch_storage 

Source
pub fn dispatch_storage<S: Storage>(
    method: &str,
    params: &Value,
) -> Option<Result<Value, PluginError>>
Expand description

storage.* 方法路由(register! 生成的 dispatch 调用)。 非 storage. 前缀返回 None,让调用方继续尝试其它方法族。