pub struct SolidEntryPoint(/* private fields */);Expand description
A SolidEntryPoint is a MessageId of a message that is solid even if we do not have them
or their past in the database. They often come from a snapshot file and allow a node to solidify
without needing the full tangle history.
Implementations§
Trait Implementations§
Source§impl AsRef<MessageId> for SolidEntryPoint
impl AsRef<MessageId> for SolidEntryPoint
Source§impl Clone for SolidEntryPoint
impl Clone for SolidEntryPoint
Source§fn clone(&self) -> SolidEntryPoint
fn clone(&self) -> SolidEntryPoint
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 Debug for SolidEntryPoint
impl Debug for SolidEntryPoint
Source§impl Deref for SolidEntryPoint
impl Deref for SolidEntryPoint
Source§impl From<MessageId> for SolidEntryPoint
impl From<MessageId> for SolidEntryPoint
Source§impl Hash for SolidEntryPoint
impl Hash for SolidEntryPoint
Source§impl Packable for SolidEntryPoint
impl Packable for SolidEntryPoint
Source§fn packed_len(&self) -> usize
fn packed_len(&self) -> usize
Returns the length of the packed bytes.
Source§fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>
fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>
Packs the instance to bytes and writes them to the passed writer.
Source§fn unpack_inner<R: Read + ?Sized, const CHECK: bool>(
reader: &mut R,
) -> Result<Self, Self::Error>
fn unpack_inner<R: Read + ?Sized, const CHECK: bool>( reader: &mut R, ) -> Result<Self, Self::Error>
Reads bytes from the passed reader and unpacks them into an instance.
Source§fn pack_new(&self) -> Vec<u8> ⓘ
fn pack_new(&self) -> Vec<u8> ⓘ
Packs the instance to bytes and writes them to a newly allocated vector.
Source§impl PartialEq for SolidEntryPoint
impl PartialEq for SolidEntryPoint
Source§impl RefCast for SolidEntryPoint
impl RefCast for SolidEntryPoint
impl Copy for SolidEntryPoint
impl Eq for SolidEntryPoint
impl StructuralPartialEq for SolidEntryPoint
Auto Trait Implementations§
impl Freeze for SolidEntryPoint
impl RefUnwindSafe for SolidEntryPoint
impl Send for SolidEntryPoint
impl Sync for SolidEntryPoint
impl Unpin for SolidEntryPoint
impl UnwindSafe for SolidEntryPoint
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