Struct bee_message::input::UtxoInput
source · pub struct UtxoInput(_);Expand description
Represents an input referencing an output.
Implementations§
Trait Implementations§
source§impl Ord for UtxoInput
impl Ord for UtxoInput
source§impl Packable for UtxoInput
impl Packable for UtxoInput
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, Global>
fn pack_new(&self) -> Vec<u8, Global>
Packs the instance to bytes and writes them to a newly allocated vector.
source§impl PartialEq<UtxoInput> for UtxoInput
impl PartialEq<UtxoInput> for UtxoInput
source§impl PartialOrd<UtxoInput> for UtxoInput
impl PartialOrd<UtxoInput> for UtxoInput
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more