pub struct SessionMessageDelivery {
pub target_session_id: String,
pub envelope: SessionMessageEnvelope,
pub canonical_claim_generation: u64,
pub activation_run_id: String,
pub activation_policy: SessionActivationPolicy,
}Expand description
One canonical inbox claim forwarded to an active actor. The activation run id and claim generation make the worker’s confirmation unambiguous even if a stale connection delivers a late frame after a successor has taken over.
Fields§
§target_session_id: String§envelope: SessionMessageEnvelope§canonical_claim_generation: u64§activation_run_id: String§activation_policy: SessionActivationPolicyDurable host policy associated with the authorized claim prefix. The worker mirrors it onto its local receipt before the safe-turn boundary.
Trait Implementations§
Source§impl Clone for SessionMessageDelivery
impl Clone for SessionMessageDelivery
Source§fn clone(&self) -> SessionMessageDelivery
fn clone(&self) -> SessionMessageDelivery
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 SessionMessageDelivery
impl Debug for SessionMessageDelivery
Source§impl<'de> Deserialize<'de> for SessionMessageDelivery
impl<'de> Deserialize<'de> for SessionMessageDelivery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SessionMessageDelivery
impl PartialEq for SessionMessageDelivery
Source§impl Serialize for SessionMessageDelivery
impl Serialize for SessionMessageDelivery
impl StructuralPartialEq for SessionMessageDelivery
Auto Trait Implementations§
impl Freeze for SessionMessageDelivery
impl RefUnwindSafe for SessionMessageDelivery
impl Send for SessionMessageDelivery
impl Sync for SessionMessageDelivery
impl Unpin for SessionMessageDelivery
impl UnsafeUnpin for SessionMessageDelivery
impl UnwindSafe for SessionMessageDelivery
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