[][src]Struct solana_jsonrpc_http_server::Rpc

pub struct Rpc<M: Metadata = (), S: Middleware<M> = Noop> {
    pub handler: Arc<MetaIoHandler<M, S>>,
    pub extractor: Arc<dyn MetaExtractor<M>>,
}

RPC Handler bundled with metadata extractor.

Fields

RPC Handler

Metadata extractor

Trait Implementations

impl<M: Metadata, S: Middleware<M>> Clone for Rpc<M, S>
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<M, S> Send for Rpc<M, S>

impl<M, S> Sync for Rpc<M, S>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T