Struct bee_message::prelude::MessageId [−][src]
pub struct MessageId(_);
Expand description
A message identifier, the BLAKE2b-256 hash of the message bytes. See https://www.blake2.net/ for more information.
Implementations
Trait Implementations
Returns the length of the packed bytes.
Packs the instance to bytes and writes them to the passed writer.
Reads bytes from the passed reader and unpacks them into an instance.
Packs the instance to bytes and writes them to a newly allocated vector.
Reads bytes from the passed reader and unpacks them into an instance. Applies syntactic checks. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MessageId
impl UnwindSafe for MessageId
Blanket Implementations
Calculate the base32 serialized length
Mutably borrows from an owned value. Read more
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more