Add server specification

This commit is contained in:
Tyera Eulberg
2019-04-05 12:20:22 -06:00
committed by Grimes
parent 2f90f9fbd4
commit ef5df6f3fe
3 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@ pub struct Meta {
} }
impl Metadata for Meta {} impl Metadata for Meta {}
#[rpc] #[rpc(server)]
pub trait RpcSol { pub trait RpcSol {
type Metadata; type Metadata;

View File

@ -13,7 +13,7 @@ use solana_sdk::signature::Signature;
use std::mem; use std::mem;
use std::sync::{atomic, Arc}; use std::sync::{atomic, Arc};
#[rpc] #[rpc(server)]
pub trait RpcSolPubSub { pub trait RpcSolPubSub {
type Metadata; type Metadata;

View File

@ -59,7 +59,7 @@ pub struct Meta {
} }
impl Metadata for Meta {} impl Metadata for Meta {}
#[rpc] #[rpc(server)]
pub trait VoteSignerRpc { pub trait VoteSignerRpc {
type Metadata; type Metadata;