pub struct RpcService { /* private fields */ }
Expand description
JSON-RPC service middleware.
Trait Implementations§
source§impl Clone for RpcService
impl Clone for RpcService
source§fn clone(&self) -> RpcService
fn clone(&self) -> RpcService
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 Debug for RpcService
impl Debug for RpcService
source§impl<'a> RpcServiceT<'a> for RpcService
impl<'a> RpcServiceT<'a> for RpcService
source§type Future = ResponseFuture<Pin<Box<dyn Future<Output = MethodResponse> + Send + 'a>>>
type Future = ResponseFuture<Pin<Box<dyn Future<Output = MethodResponse> + Send + 'a>>>
The future response value.
Auto Trait Implementations§
impl Freeze for RpcService
impl !RefUnwindSafe for RpcService
impl Send for RpcService
impl Sync for RpcService
impl Unpin for RpcService
impl !UnwindSafe for RpcService
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)