pub enum ErrorCode {
Show 15 variants
InvalidDimensions,
PixelLengthMismatch,
EmptySequence,
DuplicateIdentifier,
OutOfOrder,
IncompatibleFrame,
AnnotationOutOfRange,
InvalidRegion,
InvalidMask,
InvalidScale,
EmptyAnalysisDomain,
ResourceLimitExceeded,
InvalidParameter,
InvalidManifest,
InvalidOutputHash,
}Expand description
Stable machine-readable classification for contract validation failures.
Variants§
InvalidDimensions
PixelLengthMismatch
EmptySequence
DuplicateIdentifier
OutOfOrder
IncompatibleFrame
AnnotationOutOfRange
InvalidRegion
InvalidMask
InvalidScale
EmptyAnalysisDomain
ResourceLimitExceeded
InvalidParameter
InvalidManifest
InvalidOutputHash
Implementations§
Trait Implementations§
impl Copy for ErrorCode
Source§impl<'de> Deserialize<'de> for ErrorCode
impl<'de> Deserialize<'de> for ErrorCode
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ErrorCode
Source§impl JsonSchema for ErrorCode
impl JsonSchema for ErrorCode
Source§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Forget for ErrorCode
impl Freeze for ErrorCode
impl Move for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnsafeUnpin for ErrorCode
impl UnwindSafe for ErrorCode
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