pub struct BatchStoreAck {
pub results: Vec<bool>,
}Expand description
Per-hash acknowledgement for a BatchStoreRequest (ADR 022 §STORE
Flow). results[i] corresponds to BatchStoreRequest.entries[i].
Fields§
§results: Vec<bool>One bool per request hash, in request order. Capped at
MAX_BATCH_STORE_HASHES (matches the request cap so a malicious
responder can’t reply with an oversize ack).
Trait Implementations§
Source§impl Clone for BatchStoreAck
impl Clone for BatchStoreAck
Source§impl Debug for BatchStoreAck
impl Debug for BatchStoreAck
Source§impl<'de> Deserialize<'de> for BatchStoreAck
impl<'de> Deserialize<'de> for BatchStoreAck
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BatchStoreAck
Source§impl PartialEq for BatchStoreAck
impl PartialEq for BatchStoreAck
Source§impl Serialize for BatchStoreAck
impl Serialize for BatchStoreAck
impl StructuralPartialEq for BatchStoreAck
Auto Trait Implementations§
impl Freeze for BatchStoreAck
impl RefUnwindSafe for BatchStoreAck
impl Send for BatchStoreAck
impl Sync for BatchStoreAck
impl Unpin for BatchStoreAck
impl UnsafeUnpin for BatchStoreAck
impl UnwindSafe for BatchStoreAck
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