Struct ckb_types::packed::GetBlockFilterCheckPointsReader
source · pub struct GetBlockFilterCheckPointsReader<'r>(_);
Implementations§
source§impl<'r> GetBlockFilterCheckPointsReader<'r>
impl<'r> GetBlockFilterCheckPointsReader<'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 GetBlockFilterCheckPointsReader<'r>
impl<'r> Clone for GetBlockFilterCheckPointsReader<'r>
source§fn clone(&self) -> GetBlockFilterCheckPointsReader<'r>
fn clone(&self) -> GetBlockFilterCheckPointsReader<'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 GetBlockFilterCheckPointsReader<'r>
impl<'r> Debug for GetBlockFilterCheckPointsReader<'r>
source§impl<'r> Display for GetBlockFilterCheckPointsReader<'r>
impl<'r> Display for GetBlockFilterCheckPointsReader<'r>
source§impl<'r> From<GetBlockFilterCheckPointsReader<'r>> for BlockFilterMessageUnionReader<'r>
impl<'r> From<GetBlockFilterCheckPointsReader<'r>> for BlockFilterMessageUnionReader<'r>
source§fn from(item: GetBlockFilterCheckPointsReader<'r>) -> Self
fn from(item: GetBlockFilterCheckPointsReader<'r>) -> Self
Converts to this type from the input type.
source§impl<'r> LowerHex for GetBlockFilterCheckPointsReader<'r>
impl<'r> LowerHex for GetBlockFilterCheckPointsReader<'r>
source§impl<'r> Reader<'r> for GetBlockFilterCheckPointsReader<'r>
impl<'r> Reader<'r> for GetBlockFilterCheckPointsReader<'r>
type Entity = GetBlockFilterCheckPoints
const NAME: &'static str = "GetBlockFilterCheckPointsReader"
fn to_entity(&self) -> Self::Entity
fn new_unchecked(slice: &'r [u8]) -> Self
fn as_slice(&self) -> &'r [u8] ⓘ
fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
fn from_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
fn from_compatible_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
impl<'r> Copy for GetBlockFilterCheckPointsReader<'r>
Auto Trait Implementations§
impl<'r> RefUnwindSafe for GetBlockFilterCheckPointsReader<'r>
impl<'r> Send for GetBlockFilterCheckPointsReader<'r>
impl<'r> Sync for GetBlockFilterCheckPointsReader<'r>
impl<'r> Unpin for GetBlockFilterCheckPointsReader<'r>
impl<'r> UnwindSafe for GetBlockFilterCheckPointsReader<'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.