pub struct ShellInvocationId(/* private fields */);Expand description
Process-local identity for one shell tool invocation.
IDs are monotonically allocated and let a construction-time observer keep concurrent dispatches separate. They carry no authority and are not stable across process restarts.
Implementations§
Trait Implementations§
Source§impl Clone for ShellInvocationId
impl Clone for ShellInvocationId
Source§fn clone(&self) -> ShellInvocationId
fn clone(&self) -> ShellInvocationId
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 ShellInvocationId
Source§impl Debug for ShellInvocationId
impl Debug for ShellInvocationId
impl Eq for ShellInvocationId
Source§impl Hash for ShellInvocationId
impl Hash for ShellInvocationId
Source§impl PartialEq for ShellInvocationId
impl PartialEq for ShellInvocationId
impl StructuralPartialEq for ShellInvocationId
Auto Trait Implementations§
impl Freeze for ShellInvocationId
impl RefUnwindSafe for ShellInvocationId
impl Send for ShellInvocationId
impl Sync for ShellInvocationId
impl Unpin for ShellInvocationId
impl UnsafeUnpin for ShellInvocationId
impl UnwindSafe for ShellInvocationId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.