Struct ckb_types::packed::GetBlockFilterHashesReader
source · pub struct GetBlockFilterHashesReader<'r>(/* private fields */);
Implementations§
source§impl<'r> GetBlockFilterHashesReader<'r>
impl<'r> GetBlockFilterHashesReader<'r>
pub const TOTAL_SIZE: usize = 8usize
pub const FIELD_SIZES: [usize; 1] = _
pub const FIELD_COUNT: usize = 1usize
pub fn start_number(&self) -> Uint64Reader<'r>
Trait Implementations§
source§impl<'r> Clone for GetBlockFilterHashesReader<'r>
impl<'r> Clone for GetBlockFilterHashesReader<'r>
source§fn clone(&self) -> GetBlockFilterHashesReader<'r>
fn clone(&self) -> GetBlockFilterHashesReader<'r>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'r> Debug for GetBlockFilterHashesReader<'r>
impl<'r> Debug for GetBlockFilterHashesReader<'r>
source§impl<'r> Display for GetBlockFilterHashesReader<'r>
impl<'r> Display for GetBlockFilterHashesReader<'r>
source§impl<'r> From<GetBlockFilterHashesReader<'r>> for BlockFilterMessageUnionReader<'r>
impl<'r> From<GetBlockFilterHashesReader<'r>> for BlockFilterMessageUnionReader<'r>
source§fn from(
item: GetBlockFilterHashesReader<'r>
) -> BlockFilterMessageUnionReader<'r>
fn from( item: GetBlockFilterHashesReader<'r> ) -> BlockFilterMessageUnionReader<'r>
Converts to this type from the input type.
source§impl<'r> LowerHex for GetBlockFilterHashesReader<'r>
impl<'r> LowerHex for GetBlockFilterHashesReader<'r>
source§impl<'r> Reader<'r> for GetBlockFilterHashesReader<'r>
impl<'r> Reader<'r> for GetBlockFilterHashesReader<'r>
type Entity = GetBlockFilterHashes
const NAME: &'static str = "GetBlockFilterHashesReader"
fn to_entity(&self) -> <GetBlockFilterHashesReader<'r> as Reader<'r>>::Entity
fn new_unchecked(slice: &'r [u8]) -> GetBlockFilterHashesReader<'r>
fn as_slice(&self) -> &'r [u8] ⓘ
fn verify(slice: &[u8], _compatible: bool) -> Result<(), VerificationError>
fn from_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
fn from_compatible_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
impl<'r> Copy for GetBlockFilterHashesReader<'r>
Auto Trait Implementations§
impl<'r> RefUnwindSafe for GetBlockFilterHashesReader<'r>
impl<'r> Send for GetBlockFilterHashesReader<'r>
impl<'r> Sync for GetBlockFilterHashesReader<'r>
impl<'r> Unpin for GetBlockFilterHashesReader<'r>
impl<'r> UnwindSafe for GetBlockFilterHashesReader<'r>
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
source§impl<'r, R> FromSliceShouldBeOk<'r> for Rwhere
R: Reader<'r>,
impl<'r, R> FromSliceShouldBeOk<'r> for Rwhere R: Reader<'r>,
source§fn from_slice_should_be_ok(slice: &'r [u8]) -> R
fn from_slice_should_be_ok(slice: &'r [u8]) -> R
Unwraps the result of
from_slice(..)
with confidence and we assume that it’s impossible to fail.source§fn from_compatible_slice_should_be_ok(slice: &'r [u8]) -> R
fn from_compatible_slice_should_be_ok(slice: &'r [u8]) -> R
Unwraps the result of
from_compatible_slice(..)
with confidence and we assume that it’s impossible to fail.