pub struct InvocationId(pub u64);Expand description
Monotonic id assigned to every actor-bound invocation. Unique across the process – not reused if an actor task dies and is respawned. Useful for telemetry, logging, and (post-Phase-7) for plugin-side correlation of request/response.
Tuple Fields§
§0: u64Implementations§
Source§impl InvocationId
impl InvocationId
Trait Implementations§
Source§impl Clone for InvocationId
impl Clone for InvocationId
Source§fn clone(&self) -> InvocationId
fn clone(&self) -> InvocationId
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 Copy for InvocationId
Source§impl Debug for InvocationId
impl Debug for InvocationId
Source§impl Display for InvocationId
impl Display for InvocationId
impl Eq for InvocationId
Source§impl Hash for InvocationId
impl Hash for InvocationId
Source§impl PartialEq for InvocationId
impl PartialEq for InvocationId
impl StructuralPartialEq for InvocationId
Auto Trait Implementations§
impl Freeze for InvocationId
impl RefUnwindSafe for InvocationId
impl Send for InvocationId
impl Sync for InvocationId
impl Unpin for InvocationId
impl UnsafeUnpin for InvocationId
impl UnwindSafe for InvocationId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.