[−][src]Struct roa_jsonrpc::RpcEndpoint
A wrapper for jsonrpc_v2::Server
, implemented roa::Endpoint
.
Trait Implementations
impl<'a, S, R> Endpoint<'a, S> for RpcEndpoint<R> where
S: State,
R: Router + Sync + Send + 'static,
[src]
S: State,
R: Router + Sync + Send + 'static,
Auto Trait Implementations
impl<R> !RefUnwindSafe for RpcEndpoint<R>
impl<R> Send for RpcEndpoint<R> where
R: Send,
R: Send,
impl<R> Sync for RpcEndpoint<R> where
R: Sync,
R: Sync,
impl<R> Unpin for RpcEndpoint<R> where
R: Unpin,
R: Unpin,
impl<R> !UnwindSafe for RpcEndpoint<R>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<'a, S, T, F> Endpoint<'a, S> for T where
F: 'a + Future<Output = Result<(), Status>>,
S: 'a,
T: 'static + Send + Sync + Fn(&'a mut Context<S>) -> F,
F: 'a + Future<Output = Result<(), Status>>,
S: 'a,
T: 'static + Send + Sync + Fn(&'a mut Context<S>) -> F,
fn call<'async_trait>(
&'a self,
ctx: &'a mut Context<S>
) -> Pin<Box<dyn Future<Output = Result<(), Status>> + 'async_trait>> where
'a: 'async_trait,
T: 'async_trait,
&'a self,
ctx: &'a mut Context<S>
) -> Pin<Box<dyn Future<Output = Result<(), Status>> + 'async_trait>> where
'a: 'async_trait,
T: 'async_trait,
impl<S, T> EndpointExt<S> for T where
T: for<'a> Endpoint<'a, S>,
T: for<'a> Endpoint<'a, S>,
fn boxed(self) -> Boxed<S> where
S: 'static,
S: 'static,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,