pub struct NodeBatch {
pub answer: NodeBatchAnswer,
pub bytes: usize,
}Expand description
What a remote received for one batch request: the answer and the bytes
of its body, which the sync holds to NODE_BATCH_MAX_BYTES.
Fields§
§answer: NodeBatchAnswer§bytes: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for NodeBatch
impl RefUnwindSafe for NodeBatch
impl Send for NodeBatch
impl Sync for NodeBatch
impl Unpin for NodeBatch
impl UnsafeUnpin for NodeBatch
impl UnwindSafe for NodeBatch
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