pub struct SendToLink {
pub link_id: LinkId,
pub payload: Vec<u8, prns_core::::engine::commands::link::SendToLinkPayload::{constant#0}>,
}Expand description
RNS 1.4.2 Packet(link, data).send()
Fields§
§link_id: LinkId§payload: Vec<u8, prns_core::::engine::commands::link::SendToLinkPayload::{constant#0}>Trait Implementations§
Source§impl Clone for SendToLink
impl Clone for SendToLink
Source§fn clone(&self) -> SendToLink
fn clone(&self) -> SendToLink
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 SendToLink
impl Debug for SendToLink
impl Eq for SendToLink
Source§impl PartialEq for SendToLink
impl PartialEq for SendToLink
Source§impl Settleable for SendToLink
impl Settleable for SendToLink
type Success = PacketReceiptDelivered
type Failure = SendToLinkFailure
fn into_command(self) -> PrnsCommand
fn from_settlement( settlement: Settlement, ) -> Option<Result<PacketReceiptDelivered, SendToLinkFailure>>
impl StructuralPartialEq for SendToLink
Auto Trait Implementations§
impl Freeze for SendToLink
impl RefUnwindSafe for SendToLink
impl Send for SendToLink
impl Sync for SendToLink
impl Unpin for SendToLink
impl UnsafeUnpin for SendToLink
impl UnwindSafe for SendToLink
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