Struct solana_banks_interface::ServeBanks
source · pub struct ServeBanks<S> { /* private fields */ }
Expand description
A serving function to use with tarpc::server::InFlightRequest::execute.
Trait Implementations§
source§impl<S: Clone> Clone for ServeBanks<S>
impl<S: Clone> Clone for ServeBanks<S>
source§fn clone(&self) -> ServeBanks<S>
fn clone(&self) -> ServeBanks<S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<S> Serve<BanksRequest> for ServeBanks<S>where
S: Banks,
impl<S> Serve<BanksRequest> for ServeBanks<S>where S: Banks,
§type Resp = BanksResponse
type Resp = BanksResponse
Type of response.
§type Fut = BanksResponseFut<S>
type Fut = BanksResponseFut<S>
Type of response future.