pub struct CommandKey<T: 'static> { /* private fields */ }Expand description
A process-local, strongly typed command identifier.
The stable name is retained for diagnostics and foreign-language adapters;
Rust delivery additionally verifies the payload’s TypeId.
Implementations§
Trait Implementations§
Source§impl<T: 'static> Clone for CommandKey<T>
impl<T: 'static> Clone for CommandKey<T>
impl<T: 'static> Copy for CommandKey<T>
Auto Trait Implementations§
impl<T> Freeze for CommandKey<T>
impl<T> RefUnwindSafe for CommandKey<T>
impl<T> Send for CommandKey<T>
impl<T> Sync for CommandKey<T>
impl<T> Unpin for CommandKey<T>
impl<T> UnsafeUnpin for CommandKey<T>
impl<T> UnwindSafe for CommandKey<T>
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