pub struct Batch { /* private fields */ }
Expand description
Helper structure that caches all the requests before they are actually sent to the server.
Calls on this function are stored and run when batch_call
is run on a Client
.
This structure can be used to make multiple different calls in one single run. For batch
calls of the same type, there are shorthands methods defined on the
Client
, like
batch_script_get_balance
to ask the
server for the balance of multiple scripts with a single request.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Batch
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnwindSafe for Batch
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