pub struct RuntimeOperatorStageIdentity { /* private fields */ }Expand description
Stable identities that travel with every Started/terminal pair.
Implementations§
Source§impl RuntimeOperatorStageIdentity
impl RuntimeOperatorStageIdentity
pub fn new() -> Self
pub fn with_node_id(self, node_id: impl Into<String>) -> Self
pub fn with_task_id(self, task_id: RuntimeTaskId) -> Self
pub fn with_chunk_index(self, chunk_index: usize) -> Self
pub fn with_partition_index(self, partition_index: usize) -> Self
pub fn with_attempt(self, attempt: u32) -> Self
pub fn with_strategy_label(self, strategy_label: impl Into<String>) -> Self
pub fn with_input_rows(self, input_rows: u64) -> Self
pub fn with_input_bytes(self, input_bytes: u64) -> Self
pub fn with_reserved_bytes(self, reserved_bytes: u64) -> Self
pub fn with_vector_algorithm(self, algorithm: impl Into<String>) -> Self
pub fn with_ml_algorithm(self, algorithm: impl Into<String>) -> Self
pub fn with_vector_relation_role(self, role: impl Into<String>) -> Self
pub fn with_vector_dimension(self, dimension: usize) -> Self
pub fn with_matrix_layout(self, layout: impl Into<String>) -> Self
pub fn with_execution_binding_id(self, binding_id: u64) -> Self
pub fn with_device_ordinal(self, device_ordinal: usize) -> Self
pub fn with_native_version(self, major: u16, minor: u16, patch: u16) -> Self
Trait Implementations§
Source§impl Clone for RuntimeOperatorStageIdentity
impl Clone for RuntimeOperatorStageIdentity
Source§impl Debug for RuntimeOperatorStageIdentity
impl Debug for RuntimeOperatorStageIdentity
Auto Trait Implementations§
impl Freeze for RuntimeOperatorStageIdentity
impl RefUnwindSafe for RuntimeOperatorStageIdentity
impl Send for RuntimeOperatorStageIdentity
impl Sync for RuntimeOperatorStageIdentity
impl Unpin for RuntimeOperatorStageIdentity
impl UnsafeUnpin for RuntimeOperatorStageIdentity
impl UnwindSafe for RuntimeOperatorStageIdentity
Blanket Implementations§
impl<T> Allocation for T
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more