pub struct FunctionHandler<F> { /* private fields */ }
Expand description
Simple function-based RPC handler
Implementations§
Trait Implementations§
Source§impl<F, Fut> RpcHandler for FunctionHandler<F>
impl<F, Fut> RpcHandler for FunctionHandler<F>
Auto Trait Implementations§
impl<F> Freeze for FunctionHandler<F>where
F: Freeze,
impl<F> RefUnwindSafe for FunctionHandler<F>where
F: RefUnwindSafe,
impl<F> Send for FunctionHandler<F>where
F: Send,
impl<F> Sync for FunctionHandler<F>where
F: Sync,
impl<F> Unpin for FunctionHandler<F>where
F: Unpin,
impl<F> UnwindSafe for FunctionHandler<F>where
F: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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