pub struct BatchHandle<O> { /* private fields */ }Expand description
A typed key returned by BatchableCall::queue. Pair it with
[BatchResults::take] to extract the typed output for that op
from the batch response.
Carries O only as a phantom type — there’s no runtime overhead.
Cheap to clone; clones share identity (you can take(handle) only
once, but the type tracks across passes).
Trait Implementations§
Source§impl<O> Clone for BatchHandle<O>
impl<O> Clone for BatchHandle<O>
Source§impl<O> Debug for BatchHandle<O>
impl<O> Debug for BatchHandle<O>
impl<O> Copy for BatchHandle<O>
Auto Trait Implementations§
impl<O> Freeze for BatchHandle<O>
impl<O> RefUnwindSafe for BatchHandle<O>
impl<O> Send for BatchHandle<O>
impl<O> Sync for BatchHandle<O>
impl<O> Unpin for BatchHandle<O>
impl<O> UnsafeUnpin for BatchHandle<O>
impl<O> UnwindSafe for BatchHandle<O>
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