pub enum CheckpointIssueKind {
MissingTensor,
UnexpectedTensor,
ConflictingLayout,
ShapeMismatch,
UnsupportedEncoding,
CompanionMismatch,
InvalidGeometry,
ValidationUnavailable,
}Expand description
Stable checkpoint validation categories used by inspection and strict load.
Variants§
MissingTensor
A required tensor is absent.
UnexpectedTensor
A tensor is not admitted by the selected contract.
ConflictingLayout
Mutually exclusive layouts conflict.
ShapeMismatch
Tensor geometry does not match the contract.
UnsupportedEncoding
Stored encoding is unsupported.
CompanionMismatch
Atomic encoding companions are inconsistent.
InvalidGeometry
Architecture geometry is invalid.
Validation could not be completed.
Trait Implementations§
Source§impl Clone for CheckpointIssueKind
impl Clone for CheckpointIssueKind
Source§fn clone(&self) -> CheckpointIssueKind
fn clone(&self) -> CheckpointIssueKind
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 moreimpl Copy for CheckpointIssueKind
Source§impl Debug for CheckpointIssueKind
impl Debug for CheckpointIssueKind
impl Eq for CheckpointIssueKind
Source§impl Ord for CheckpointIssueKind
impl Ord for CheckpointIssueKind
Source§fn cmp(&self, other: &CheckpointIssueKind) -> Ordering
fn cmp(&self, other: &CheckpointIssueKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CheckpointIssueKind
impl PartialEq for CheckpointIssueKind
Source§impl PartialOrd for CheckpointIssueKind
impl PartialOrd for CheckpointIssueKind
impl StructuralPartialEq for CheckpointIssueKind
Auto Trait Implementations§
impl Freeze for CheckpointIssueKind
impl RefUnwindSafe for CheckpointIssueKind
impl Send for CheckpointIssueKind
impl Sync for CheckpointIssueKind
impl Unpin for CheckpointIssueKind
impl UnsafeUnpin for CheckpointIssueKind
impl UnwindSafe for CheckpointIssueKind
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