pub struct TaskId(pub Uuid);Expand description
Identity of a live task run.
Unique per run. It is also the namespacing root for the run’s keys, which
live under arora/tasks/<module>/<function>/<run_id>/….
Tuple Fields§
§0: UuidTrait Implementations§
Source§impl AroraType for TaskId
A TaskId travels on the value plane as a bare scalar uuid — its arora
type is the well-known uuid primitive. The distinct Rust newtype conveys
that a uuid is a task’s identity while carrying no schema of its own.
impl AroraType for TaskId
A TaskId travels on the value plane as a bare scalar uuid — its arora
type is the well-known uuid primitive. The distinct Rust newtype conveys
that a uuid is a task’s identity while carrying no schema of its own.
Source§fn arora_type_id() -> Uuid
fn arora_type_id() -> Uuid
The id this type is known by: the id its
arora_type carries, and the
id a field of this type is referenced by.Source§fn arora_type() -> Type
fn arora_type() -> Type
This type’s own definition. Nested user-defined types are named by id in
the field type references; their definitions are obtained from the
registry filled by
register_types.Source§fn register_types(_registry: &mut TypeRegistry)
fn register_types(_registry: &mut TypeRegistry)
Insert this type and every type it transitively depends on into
registry. Idempotent, and safe for types reachable from themselves.impl Copy for TaskId
Source§impl<'de> Deserialize<'de> for TaskId
impl<'de> Deserialize<'de> for TaskId
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
impl Eq for TaskId
impl StructuralPartialEq for TaskId
Auto Trait Implementations§
impl Freeze for TaskId
impl RefUnwindSafe for TaskId
impl Send for TaskId
impl Sync for TaskId
impl Unpin for TaskId
impl UnsafeUnpin for TaskId
impl UnwindSafe for TaskId
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.