pub struct SendRequest {
pub link_id: LinkId,
pub path_hash: RequestPathHash,
pub data: Vec<u8, prns_core::::engine::commands::request::SendRequestData::{constant#0}>,
pub response_timeout: RequestResponseTimeout,
pub maximum_response_bytes: ByteLimit,
}Expand description
RNS 1.4.2 Link.request(path, data), sub-MDU form; empty data = the reference’s None.
Fields§
§link_id: LinkId§path_hash: RequestPathHash§data: Vec<u8, prns_core::::engine::commands::request::SendRequestData::{constant#0}>§response_timeout: RequestResponseTimeout§maximum_response_bytes: ByteLimitTrait Implementations§
Source§impl Clone for SendRequest
impl Clone for SendRequest
Source§fn clone(&self) -> SendRequest
fn clone(&self) -> SendRequest
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 SendRequest
impl Debug for SendRequest
impl Eq for SendRequest
Source§impl PartialEq for SendRequest
impl PartialEq for SendRequest
Source§impl Settleable for SendRequest
impl Settleable for SendRequest
type Success = PacketReceiptDelivered
type Failure = SendRequestFailure
fn into_command(self) -> PrnsCommand
fn from_settlement( settlement: Settlement, ) -> Option<Result<PacketReceiptDelivered, SendRequestFailure>>
impl StructuralPartialEq for SendRequest
Auto Trait Implementations§
impl Freeze for SendRequest
impl RefUnwindSafe for SendRequest
impl Send for SendRequest
impl Sync for SendRequest
impl Unpin for SendRequest
impl UnsafeUnpin for SendRequest
impl UnwindSafe for SendRequest
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