Struct jsonrpsee_core::client::BatchMessage
source · pub struct BatchMessage {
pub raw: String,
pub ids: Range<u64>,
pub send_back: Sender<Result<Vec<BatchEntry<'static, JsonValue>>, Error>>,
}
Expand description
Batch request message.
Fields§
§raw: String
Serialized batch request.
ids: Range<u64>
Request IDs.
send_back: Sender<Result<Vec<BatchEntry<'static, JsonValue>>, Error>>
One-shot channel over which we send back the result of this request.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BatchMessage
impl Send for BatchMessage
impl Sync for BatchMessage
impl Unpin for BatchMessage
impl !UnwindSafe for BatchMessage
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