Struct bee_message::prelude::ReferenceUnlock[][src]

pub struct ReferenceUnlock(_);

An UnlockBlock that refers to another unlock block.

Implementations

impl ReferenceUnlock[src]

pub const KIND: u8[src]

The unlock kind of a ReferenceUnlock.

pub fn new(index: u16) -> Result<Self, Error>[src]

Creates a new ReferenceUnlock.

pub fn index(&self) -> u16[src]

Return the index of a ReferenceUnlock.

Trait Implementations

impl Clone for ReferenceUnlock[src]

impl Debug for ReferenceUnlock[src]

impl Eq for ReferenceUnlock[src]

impl From<ReferenceUnlock> for UnlockBlock[src]

impl Hash for ReferenceUnlock[src]

impl Packable for ReferenceUnlock[src]

type Error = Error

Associated error type.

impl PartialEq<ReferenceUnlock> for ReferenceUnlock[src]

impl StructuralEq for ReferenceUnlock[src]

impl StructuralPartialEq for ReferenceUnlock[src]

impl TryFrom<u16> for ReferenceUnlock[src]

type Error = Error

The type returned in the event of a conversion error.

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> 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.