pub struct BlockId(/* private fields */);
Expand description
A stacks block ID
Implementations§
Trait Implementations§
Source§impl Codec for BlockId
impl Codec for BlockId
Source§fn codec_deserialize<R: Read>(data: &mut R) -> Result<Self>where
Self: Sized,
fn codec_deserialize<R: Read>(data: &mut R) -> Result<Self>where
Self: Sized,
Deserialize from a reader
Source§fn serialize<W: Write>(&self, dest: &mut W) -> StacksResult<()>
fn serialize<W: Write>(&self, dest: &mut W) -> StacksResult<()>
Serialize to a writer and return a StacksResult
Source§fn deserialize<R: Read>(data: &mut R) -> StacksResult<Self>where
Self: Sized,
fn deserialize<R: Read>(data: &mut R) -> StacksResult<Self>where
Self: Sized,
Deserialize from a reader and return a StacksResult
Auto Trait Implementations§
impl Freeze for BlockId
impl RefUnwindSafe for BlockId
impl Send for BlockId
impl Sync for BlockId
impl Unpin for BlockId
impl UnwindSafe for BlockId
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