pub struct DataHash {
pub index: u64,
pub nodes: Vec<Node>,
}
Expand description
Data hash to peer
Fields§
§index: u64
Hypercore index
nodes: Vec<Node>
TODO: document
Trait Implementations§
Source§impl CompactEncoding<DataHash> for HypercoreState
impl CompactEncoding<DataHash> for HypercoreState
impl StructuralPartialEq for DataHash
Auto Trait Implementations§
impl Freeze for DataHash
impl RefUnwindSafe for DataHash
impl Send for DataHash
impl Sync for DataHash
impl Unpin for DataHash
impl UnwindSafe for DataHash
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