pub struct BackLinkReader<'r>(/* private fields */);Implementations§
Source§impl<'r> BackLinkReader<'r>
impl<'r> BackLinkReader<'r>
pub const FIELD_COUNT: usize = 3usize
pub fn total_size(&self) -> usize
pub fn field_count(&self) -> usize
pub fn count_extra_fields(&self) -> usize
pub fn has_extra_fields(&self) -> bool
pub fn indexes(&self) -> IndexesReader<'r>
pub fn checksum(&self) -> Uint32Reader<'r>
pub fn tx_hash(&self) -> Byte32Reader<'r>
Trait Implementations§
Source§impl<'r> Clone for BackLinkReader<'r>
impl<'r> Clone for BackLinkReader<'r>
Source§fn clone(&self) -> BackLinkReader<'r>
fn clone(&self) -> BackLinkReader<'r>
Returns a duplicate 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 BackLinkReader<'r>
impl<'r> Debug for BackLinkReader<'r>
Source§impl<'r> Display for BackLinkReader<'r>
impl<'r> Display for BackLinkReader<'r>
Source§impl<'r> LowerHex for BackLinkReader<'r>
impl<'r> LowerHex for BackLinkReader<'r>
Source§impl<'r> Reader<'r> for BackLinkReader<'r>
impl<'r> Reader<'r> for BackLinkReader<'r>
const NAME: &'static str = "BackLinkReader"
type Entity = BackLink
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 BackLinkReader<'r>
Auto Trait Implementations§
impl<'r> Freeze for BackLinkReader<'r>
impl<'r> RefUnwindSafe for BackLinkReader<'r>
impl<'r> Send for BackLinkReader<'r>
impl<'r> Sync for BackLinkReader<'r>
impl<'r> Unpin for BackLinkReader<'r>
impl<'r> UnwindSafe for BackLinkReader<'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