pub struct SendSinglePacket {
pub destination: DestinationHash,
pub payload: Vec<u8, prns_core::::engine::commands::send_single::SendSinglePacketPayload::{constant#0}>,
}Expand description
RNS 1.4.2 Packet(destination, data).send() with its PacketReceipt.
Fields§
§destination: DestinationHash§payload: Vec<u8, prns_core::::engine::commands::send_single::SendSinglePacketPayload::{constant#0}>Trait Implementations§
Source§impl Clone for SendSinglePacket
impl Clone for SendSinglePacket
Source§fn clone(&self) -> SendSinglePacket
fn clone(&self) -> SendSinglePacket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SendSinglePacket
impl Debug for SendSinglePacket
impl Eq for SendSinglePacket
Source§impl PartialEq for SendSinglePacket
impl PartialEq for SendSinglePacket
Source§impl Settleable for SendSinglePacket
impl Settleable for SendSinglePacket
type Success = PacketReceiptDelivered
type Failure = SendSinglePacketFailure
fn into_command(self) -> PrnsCommand
fn from_settlement( settlement: Settlement, ) -> Option<Result<PacketReceiptDelivered, SendSinglePacketFailure>>
impl StructuralPartialEq for SendSinglePacket
Auto Trait Implementations§
impl Freeze for SendSinglePacket
impl RefUnwindSafe for SendSinglePacket
impl Send for SendSinglePacket
impl Sync for SendSinglePacket
impl Unpin for SendSinglePacket
impl UnsafeUnpin for SendSinglePacket
impl UnwindSafe for SendSinglePacket
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