#[non_exhaustive]pub enum ExecutionPlanError {
EmptyBackendId,
EmptyDeviceId,
Schema(u32),
Capability(&'static str),
Topology(String),
ZeroMappedShards,
EmptyDraftModel,
ZeroDraftTokens,
}Expand description
Execution plan validation error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EmptyBackendId
Backend identifier is empty.
EmptyDeviceId
Device identifier is empty.
Schema(u32)
Unsupported schema version.
Capability(&'static str)
Required capability is absent.
Topology(String)
Topology is invalid.
ZeroMappedShards
The checkpoint source bound is zero.
EmptyDraftModel
An external assistant artifact path or identifier is empty.
ZeroDraftTokens
Speculative execution has no proposal capacity.
Trait Implementations§
Source§impl Clone for ExecutionPlanError
impl Clone for ExecutionPlanError
Source§fn clone(&self) -> ExecutionPlanError
fn clone(&self) -> ExecutionPlanError
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 moreSource§impl Debug for ExecutionPlanError
impl Debug for ExecutionPlanError
Source§impl Display for ExecutionPlanError
impl Display for ExecutionPlanError
impl Eq for ExecutionPlanError
Source§impl Error for ExecutionPlanError
impl Error for ExecutionPlanError
1.30.0 · 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 PartialEq for ExecutionPlanError
impl PartialEq for ExecutionPlanError
impl StructuralPartialEq for ExecutionPlanError
Auto Trait Implementations§
impl Freeze for ExecutionPlanError
impl RefUnwindSafe for ExecutionPlanError
impl Send for ExecutionPlanError
impl Sync for ExecutionPlanError
impl Unpin for ExecutionPlanError
impl UnsafeUnpin for ExecutionPlanError
impl UnwindSafe for ExecutionPlanError
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