Struct ckb_types::packed::HeaderReader [−][src]
pub struct HeaderReader<'r>(_);
Implementations
Calls RawHeaderReader.calc_pow_hash()
for self.raw()
.
Calculates the hash for self.as_slice() as the header hash.
Trait Implementations
Auto Trait Implementations
impl<'r> RefUnwindSafe for HeaderReader<'r>
impl<'r> Send for HeaderReader<'r>
impl<'r> Sync for HeaderReader<'r>
impl<'r> Unpin for HeaderReader<'r>
impl<'r> UnwindSafe for HeaderReader<'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.