Struct ckb_types::packed::UncleBlockVecReader [−][src]
pub struct UncleBlockVecReader<'r>(_);
Implementations
pub fn iter<'t>(&'t self) -> UncleBlockVecReaderIterator<'t, 'r>ⓘNotable traits for UncleBlockVecReaderIterator<'t, 'r>impl<'t: 'r, 'r> Iterator for UncleBlockVecReaderIterator<'t, 'r> type Item = UncleBlockReader<'t>;
Notable traits for UncleBlockVecReaderIterator<'t, 'r>
impl<'t: 'r, 'r> Iterator for UncleBlockVecReaderIterator<'t, 'r> type Item = UncleBlockReader<'t>;
Calculates the hash for uncle blocks.
Returns the empty hash if no uncle block, otherwise, calculates a hash for all header hashes of uncle blocks and returns it.
Trait Implementations
type Entity = UncleBlockVec
Auto Trait Implementations
impl<'r> RefUnwindSafe for UncleBlockVecReader<'r>
impl<'r> Send for UncleBlockVecReader<'r>
impl<'r> Sync for UncleBlockVecReader<'r>
impl<'r> Unpin for UncleBlockVecReader<'r>
impl<'r> UnwindSafe for UncleBlockVecReader<'r>
Blanket Implementations
Mutably borrows from an owned value. Read more
Unwraps the result of from_slice(..)
with confidence and we assume that it’s impossible to fail.