pub struct LocalSendRequest<'a> {
pub target_pid: u64,
pub sender_pid: u64,
pub message: Term,
pub sender_clock: u64,
pub replay_driver: Option<&'a Arc<Mutex<ReplayDriver>>>,
}Expand description
Synchronous request to deliver one message to a local target process.
The message term references the sender’s heap. The call is synchronous,
performed inside the sender’s slice while the sender body is alive, so the
facility may read/encode the term during the call. The facility MUST NOT
store the raw term past the call: the Present branch copies it into the
receiver heap immediately; the Executing branch ETF-encodes it to bytes
immediately.
Fields§
§target_pid: u64PID of the local target process.
sender_pid: u64PID of the sending process (recorded for replay determinism).
message: TermThe message term, referencing the sender’s heap.
sender_clock: u64The sender’s logical clock value, already ticked by the caller.
replay_driver: Option<&'a Arc<Mutex<ReplayDriver>>>Replay driver used to validate recorded delivery determinism.
Auto Trait Implementations§
impl<'a> Freeze for LocalSendRequest<'a>
impl<'a> RefUnwindSafe for LocalSendRequest<'a>
impl<'a> Send for LocalSendRequest<'a>
impl<'a> Sync for LocalSendRequest<'a>
impl<'a> Unpin for LocalSendRequest<'a>
impl<'a> UnsafeUnpin for LocalSendRequest<'a>
impl<'a> UnwindSafe for LocalSendRequest<'a>
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