pub struct FixedVersionedBlock { /* private fields */ }
Expand description
Warning: This is experimental and may be removed in the future.
Implementations§
Source§impl FixedVersionedBlock
impl FixedVersionedBlock
pub fn from_bytes( bytes: Vec<u8>, ) -> Result<FixedVersionedBlock, DeserializeError>
Source§impl FixedVersionedBlock
impl FixedVersionedBlock
pub fn from_hex(hex_str: &str) -> Result<FixedVersionedBlock, DeserializeError>
Trait Implementations§
Source§impl Clone for FixedVersionedBlock
impl Clone for FixedVersionedBlock
Source§fn clone(&self) -> FixedVersionedBlock
fn clone(&self) -> FixedVersionedBlock
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 FixedVersionedBlock
impl Debug for FixedVersionedBlock
Source§impl PartialEq for FixedVersionedBlock
impl PartialEq for FixedVersionedBlock
impl Eq for FixedVersionedBlock
impl StructuralPartialEq for FixedVersionedBlock
Auto Trait Implementations§
impl Freeze for FixedVersionedBlock
impl RefUnwindSafe for FixedVersionedBlock
impl !Send for FixedVersionedBlock
impl !Sync for FixedVersionedBlock
impl Unpin for FixedVersionedBlock
impl UnwindSafe for FixedVersionedBlock
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more