Struct ckb_types::packed::BlockFilterMessage
source · pub struct BlockFilterMessage(/* private fields */);
Implementations§
source§impl BlockFilterMessage
impl BlockFilterMessage
pub const ITEMS_COUNT: usize = 6usize
pub fn item_id(&self) -> u32
pub fn to_enum(&self) -> BlockFilterMessageUnion
pub fn as_reader<'r>(&'r self) -> BlockFilterMessageReader<'r>
Trait Implementations§
source§impl Clone for BlockFilterMessage
impl Clone for BlockFilterMessage
source§fn clone(&self) -> BlockFilterMessage
fn clone(&self) -> BlockFilterMessage
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 Debug for BlockFilterMessage
impl Debug for BlockFilterMessage
source§impl Default for BlockFilterMessage
impl Default for BlockFilterMessage
source§fn default() -> BlockFilterMessage
fn default() -> BlockFilterMessage
Returns the “default value” for a type. Read more
source§impl Display for BlockFilterMessage
impl Display for BlockFilterMessage
source§impl Entity for BlockFilterMessage
impl Entity for BlockFilterMessage
type Builder = BlockFilterMessageBuilder
const NAME: &'static str = "BlockFilterMessage"
fn new_unchecked(data: Bytes) -> BlockFilterMessage
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<BlockFilterMessage, VerificationError>
fn from_compatible_slice( slice: &[u8] ) -> Result<BlockFilterMessage, VerificationError>
fn new_builder() -> <BlockFilterMessage as Entity>::Builder
fn as_builder(self) -> <BlockFilterMessage as Entity>::Builder
Auto Trait Implementations§
impl !Freeze for BlockFilterMessage
impl RefUnwindSafe for BlockFilterMessage
impl Send for BlockFilterMessage
impl Sync for BlockFilterMessage
impl Unpin for BlockFilterMessage
impl UnwindSafe for BlockFilterMessage
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