Struct bee_tangle::solid_entry_point::SolidEntryPoint[][src]

#[repr(transparent)]
pub struct SolidEntryPoint(_);

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

impl SolidEntryPoint[src]

pub fn new(message_id: MessageId) -> Self[src]

Create a SolidEntryPoint from an existing MessageId.

pub fn null() -> Self[src]

Create a null SolidEntryPoint (the zero-message).

pub fn message_id(&self) -> &MessageId[src]

Returns the underlying MessageId.

Methods from Deref<Target = MessageId>

Trait Implementations

impl AsRef<MessageId> for SolidEntryPoint[src]

impl Clone for SolidEntryPoint[src]

impl Copy for SolidEntryPoint[src]

impl Debug for SolidEntryPoint[src]

impl Deref for SolidEntryPoint[src]

type Target = MessageId

The resulting type after dereferencing.

impl Eq for SolidEntryPoint[src]

impl From<MessageId> for SolidEntryPoint[src]

impl Hash for SolidEntryPoint[src]

impl Packable for SolidEntryPoint[src]

type Error = <MessageId as Packable>::Error

Associated error type.

impl PartialEq<SolidEntryPoint> for SolidEntryPoint[src]

impl RefCast for SolidEntryPoint[src]

type From = MessageId

impl StructuralEq for SolidEntryPoint[src]

impl StructuralPartialEq for SolidEntryPoint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash + ?Sized

impl<T> CallHasher for T where
    T: Hash

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,