pub enum OrchestratorError {
Store(StoreError),
Runner(RunnerError),
Vector(VectorIndexError),
NoCanonical {
task: TaskKind,
},
NonCanonicalRunner {
task: TaskKind,
declared: ModelId,
},
}Expand description
Failures from orchestrating inference.
Variants§
Store(StoreError)
A read or a tag write against the asset store failed.
Runner(RunnerError)
The runner failed.
Vector(VectorIndexError)
A vector-index insert / query failed.
NoCanonical
The task has no canonical model (or is not an embedding task where one is required).
NonCanonicalRunner
The runner’s declared model is not the registry canonical for the task — its outputs are refused rather than stored under a canonical tuple they did not produce.
Trait Implementations§
Source§impl Debug for OrchestratorError
impl Debug for OrchestratorError
Source§impl Display for OrchestratorError
impl Display for OrchestratorError
Source§impl Error for OrchestratorError
impl Error for OrchestratorError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<RunnerError> for OrchestratorError
impl From<RunnerError> for OrchestratorError
Source§fn from(source: RunnerError) -> Self
fn from(source: RunnerError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for OrchestratorError
impl From<StoreError> for OrchestratorError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<VectorIndexError> for OrchestratorError
impl From<VectorIndexError> for OrchestratorError
Source§fn from(source: VectorIndexError) -> Self
fn from(source: VectorIndexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OrchestratorError
impl !UnwindSafe for OrchestratorError
impl Freeze for OrchestratorError
impl Send for OrchestratorError
impl Sync for OrchestratorError
impl Unpin for OrchestratorError
impl UnsafeUnpin for OrchestratorError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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