pub struct BatchRequest<'a> { /* private fields */ }
Expand description
A batch JSON-RPC request, used to bundle requests into a single transport call.
Implementations§
Trait Implementations§
Source§impl<'a> Debug for BatchRequest<'a>
impl<'a> Debug for BatchRequest<'a>
Source§impl IntoFuture for BatchRequest<'_>
impl IntoFuture for BatchRequest<'_>
Source§type Output = <BatchFuture as Future>::Output
type Output = <BatchFuture as Future>::Output
The output that the future will produce on completion.
Source§type IntoFuture = BatchFuture
type IntoFuture = BatchFuture
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for BatchRequest<'a>
impl<'a> !RefUnwindSafe for BatchRequest<'a>
impl<'a> Send for BatchRequest<'a>
impl<'a> Sync for BatchRequest<'a>
impl<'a> Unpin for BatchRequest<'a>
impl<'a> !UnwindSafe for BatchRequest<'a>
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