pub struct ExperimentalRequest<'request> {
pub peer: PeerIdentity,
pub packet: PacketType,
pub payload: &'request [u8],
pub deadline: u64,
pub maximum_response_payload: usize,
}Expand description
Request passed to a platform Brontide adapter.
Fields§
§peer: PeerIdentityExact authenticated destination.
packet: PacketTypeNegotiated semantic packet assignment.
payload: &'request [u8]Strictly encoded packet payload.
deadline: u64Absolute caller clock deadline.
maximum_response_payload: usizeMaximum payload the adapter may allocate for the response.
Trait Implementations§
Source§impl<'request> Clone for ExperimentalRequest<'request>
impl<'request> Clone for ExperimentalRequest<'request>
Source§fn clone(&self) -> ExperimentalRequest<'request>
fn clone(&self) -> ExperimentalRequest<'request>
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 moreimpl<'request> Copy for ExperimentalRequest<'request>
Auto Trait Implementations§
impl<'request> Freeze for ExperimentalRequest<'request>
impl<'request> RefUnwindSafe for ExperimentalRequest<'request>
impl<'request> Send for ExperimentalRequest<'request>
impl<'request> Sync for ExperimentalRequest<'request>
impl<'request> Unpin for ExperimentalRequest<'request>
impl<'request> UnsafeUnpin for ExperimentalRequest<'request>
impl<'request> UnwindSafe for ExperimentalRequest<'request>
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