pub enum CheckpointPlanError {
Show 17 variants
EmptyIdentity,
EmptyId {
kind: &'static str,
},
EmptyLayoutGroup {
group: String,
},
EmptyLayoutVariant {
variant: String,
},
EmptyTensorKey,
EmptyTensorAlias {
key: String,
},
InvalidShape {
key: String,
shape: Vec<usize>,
},
ShapeOverflow {
key: String,
},
InvalidElementCount {
key: String,
element_count: usize,
},
ElementCountMismatch {
key: String,
shape_elements: usize,
element_count: usize,
},
DuplicateTensorKey {
key: String,
},
InvalidDiscriminator {
variant: String,
key: String,
},
DuplicateId {
kind: &'static str,
id: String,
},
EmptyAllowedKey,
EmptyAllowedPrefix,
EmptyAllowedSuffix,
EmptyEncodingSet {
key: String,
},
}Expand description
Invalid or ambiguous declarative plan.
Variants§
EmptyIdentity
EmptyId
EmptyLayoutGroup
EmptyLayoutVariant
EmptyTensorKey
EmptyTensorAlias
InvalidShape
ShapeOverflow
InvalidElementCount
ElementCountMismatch
DuplicateTensorKey
InvalidDiscriminator
DuplicateId
EmptyAllowedKey
EmptyAllowedPrefix
EmptyAllowedSuffix
EmptyEncodingSet
Trait Implementations§
Source§impl Clone for CheckpointPlanError
impl Clone for CheckpointPlanError
Source§fn clone(&self) -> CheckpointPlanError
fn clone(&self) -> CheckpointPlanError
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 CheckpointPlanError
impl Debug for CheckpointPlanError
Source§impl Display for CheckpointPlanError
impl Display for CheckpointPlanError
impl Eq for CheckpointPlanError
Source§impl Error for CheckpointPlanError
impl Error for CheckpointPlanError
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 CheckpointPlanError
impl PartialEq for CheckpointPlanError
impl StructuralPartialEq for CheckpointPlanError
Auto Trait Implementations§
impl Freeze for CheckpointPlanError
impl RefUnwindSafe for CheckpointPlanError
impl Send for CheckpointPlanError
impl Sync for CheckpointPlanError
impl Unpin for CheckpointPlanError
impl UnsafeUnpin for CheckpointPlanError
impl UnwindSafe for CheckpointPlanError
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