pub struct DefaultClientHandler;
Trait Implementations§
Source§impl ClientHandler for DefaultClientHandler
impl ClientHandler for DefaultClientHandler
Source§fn handle_request<'life0, 'async_trait>(
&'life0 self,
method: String,
_params: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle_request<'life0, 'async_trait>(
&'life0 self,
method: String,
_params: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle an incoming request
Source§impl Clone for DefaultClientHandler
impl Clone for DefaultClientHandler
Source§fn clone(&self) -> DefaultClientHandler
fn clone(&self) -> DefaultClientHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for DefaultClientHandler
impl Default for DefaultClientHandler
Source§fn default() -> DefaultClientHandler
fn default() -> DefaultClientHandler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultClientHandler
impl RefUnwindSafe for DefaultClientHandler
impl Send for DefaultClientHandler
impl Sync for DefaultClientHandler
impl Unpin for DefaultClientHandler
impl UnwindSafe for DefaultClientHandler
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