pub struct RpcEndpoint<R>(pub Server<R>);Expand description
A wrapper for jsonrpc_v2::Server, implemented roa::Endpoint.
Tuple Fields§
§0: Server<R>Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for RpcEndpoint<R>where
R: Freeze,
impl<R> !RefUnwindSafe for RpcEndpoint<R>
impl<R> Send for RpcEndpoint<R>where
R: Send,
impl<R> Sync for RpcEndpoint<R>where
R: Sync,
impl<R> Unpin for RpcEndpoint<R>where
R: Unpin,
impl<R> !UnwindSafe for RpcEndpoint<R>
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