pub struct AddHashesResult {
pub valid: bool,
pub hash_passed: Vec<u32>,
pub hash_failed: Vec<u32>,
}Expand description
Result of adding received hashes to the picker.
Fields§
§valid: boolWhether the hashes passed Merkle proof validation.
hash_passed: Vec<u32>Piece indices that passed deferred verification.
hash_failed: Vec<u32>Piece indices that failed deferred verification.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddHashesResult
impl RefUnwindSafe for AddHashesResult
impl Send for AddHashesResult
impl Sync for AddHashesResult
impl Unpin for AddHashesResult
impl UnsafeUnpin for AddHashesResult
impl UnwindSafe for AddHashesResult
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