pub struct RuntimeExecutorAttachmentWitness { /* private fields */ }Expand description
Opaque identity for one exact runtime-executor attachment.
The machine mints this witness before constructing the executor so surface-owned cleanup handles can retain the same identity. It is deliberately non-serializable and exposes no raw attachment identifier; callers may clone and compare it, but cannot manufacture authority over a replacement attachment.
Implementations§
Source§impl RuntimeExecutorAttachmentWitness
impl RuntimeExecutorAttachmentWitness
pub fn session_id(&self) -> &SessionId
pub fn epoch_id(&self) -> &RuntimeEpochId
Trait Implementations§
Source§impl Clone for RuntimeExecutorAttachmentWitness
impl Clone for RuntimeExecutorAttachmentWitness
Source§fn clone(&self) -> RuntimeExecutorAttachmentWitness
fn clone(&self) -> RuntimeExecutorAttachmentWitness
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 Eq for RuntimeExecutorAttachmentWitness
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeExecutorAttachmentWitness
impl !UnwindSafe for RuntimeExecutorAttachmentWitness
impl Freeze for RuntimeExecutorAttachmentWitness
impl Send for RuntimeExecutorAttachmentWitness
impl Sync for RuntimeExecutorAttachmentWitness
impl Unpin for RuntimeExecutorAttachmentWitness
impl UnsafeUnpin for RuntimeExecutorAttachmentWitness
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<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.