Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
vendor
/
jsonrpc-derive
/
tests
/
ui
/
attr-missing-rpc-name.rs
blob: 401359af4024ee7b66df46f6b6f760af9ea2966d [
file
] [
log
] [
blame
]
extern
crate jsonrpc_core
;
#[
macro_use
]
extern
crate jsonrpc_derive
;
#[
rpc
]
pub
trait
Rpc
{
/// Returns a protocol version
#[
rpc
]
fn
protocol_version
(&
self
)
->
Result
<
String
>;
}
fn
main
()
{}