pub struct DiagnosticCode(/* private fields */);Expand description
String-backed stable compatibility diagnostic code.
Implementations§
Source§impl DiagnosticCode
impl DiagnosticCode
Sourcepub const NORMALIZATION_MISSING_ELEMENT_ID: Self
pub const NORMALIZATION_MISSING_ELEMENT_ID: Self
A missing source element ID was repaired.
Sourcepub const NORMALIZATION_DUPLICATE_ELEMENT_ID: Self
pub const NORMALIZATION_DUPLICATE_ELEMENT_ID: Self
A later duplicate source element ID was repaired.
Sourcepub const NORMALIZATION_MISSING_TIMESTAMP: Self
pub const NORMALIZATION_MISSING_TIMESTAMP: Self
A missing required timestamp was repaired to canonical zero.
Sourcepub const NORMALIZATION_ZERO_ROUGH_SEED: Self
pub const NORMALIZATION_ZERO_ROUGH_SEED: Self
A zero Rough seed was repaired deterministically.
Sourcepub const NORMALIZATION_RELATIONSHIP_CYCLE: Self
pub const NORMALIZATION_RELATIONSHIP_CYCLE: Self
A cycle-closing relationship edge was removed.
Sourcepub const COMPATIBILITY_UNSUPPORTED_ELEMENT_TYPE: Self
pub const COMPATIBILITY_UNSUPPORTED_ELEMENT_TYPE: Self
An unknown element type used the compatibility fallback.
Sourcepub const COMPATIBILITY_MALFORMED_ELEMENT: Self
pub const COMPATIBILITY_MALFORMED_ELEMENT: Self
A malformed element was replaced or omitted.
Sourcepub const COMPATIBILITY_UNSUPPORTED_PROPERTY: Self
pub const COMPATIBILITY_UNSUPPORTED_PROPERTY: Self
An unsupported property was ignored.
Sourcepub const COMPATIBILITY_UNSUPPORTED_PROPERTY_VALUE: Self
pub const COMPATIBILITY_UNSUPPORTED_PROPERTY_VALUE: Self
An unsupported property value used its declared recovery.
Sourcepub const COMPATIBILITY_KNOWN_ELEMENT_REPLACED: Self
pub const COMPATIBILITY_KNOWN_ELEMENT_REPLACED: Self
A known but unavailable element was replaced or omitted.
Sourcepub const ASSET_SUPPLEMENT_CONFLICT: Self
pub const ASSET_SUPPLEMENT_CONFLICT: Self
A scene-embedded asset remained authoritative over a supplement.
Sourcepub const ASSET_MEDIA_TYPE_MISMATCH: Self
pub const ASSET_MEDIA_TYPE_MISMATCH: Self
Sniffed payload type replaced a mismatched advisory media type.
Sourcepub const ASSET_MALFORMED_FILE_RECORD: Self
pub const ASSET_MALFORMED_FILE_RECORD: Self
A referenced scene file record was malformed.
Sourcepub const IMAGE_MISSING_FILE: Self
pub const IMAGE_MISSING_FILE: Self
A referring image had no authoritative file payload.
Sourcepub const IMAGE_FORBIDDEN_RESOURCE: Self
pub const IMAGE_FORBIDDEN_RESOURCE: Self
A forbidden image resource was removed or replaced.
Sourcepub const IMAGE_ANIMATION_FLATTENED: Self
pub const IMAGE_ANIMATION_FLATTENED: Self
A rendered animated image occurrence was flattened.
Sourcepub const IMAGE_UNSUPPORTED_FORMAT: Self
pub const IMAGE_UNSUPPORTED_FORMAT: Self
An unsupported image format was omitted or replaced.
Sourcepub const IMAGE_DECODE_FAILED: Self
pub const IMAGE_DECODE_FAILED: Self
Image decoding failed and used format-specific recovery.
Sourcepub const IMAGE_UNSAFE_SVG_CONTENT_REMOVED: Self
pub const IMAGE_UNSAFE_SVG_CONTENT_REMOVED: Self
Unsafe nested SVG content was removed.
Sourcepub const LINK_UNSAFE_OMITTED: Self
pub const LINK_UNSAFE_OMITTED: Self
An unsafe element link was omitted.
Sourcepub const COLOR_INVALID: Self
pub const COLOR_INVALID: Self
An invalid color was substituted deterministically.
Sourcepub const FONT_LIBERATION_SANS_SUBSTITUTED: Self
pub const FONT_LIBERATION_SANS_SUBSTITUTED: Self
A local font request used bundled Liberation Sans.
Sourcepub const FONT_NOTO_EMOJI_SUBSTITUTED: Self
pub const FONT_NOTO_EMOJI_SUBSTITUTED: Self
Emoji text used bundled Noto Emoji.
Sourcepub const FONT_MISSING_GLYPH: Self
pub const FONT_MISSING_GLYPH: Self
A missing glyph was replaced deterministically.
Sourcepub const RESOURCE_ELEMENT_COMPLEXITY_REPLACED: Self
pub const RESOURCE_ELEMENT_COMPLEXITY_REPLACED: Self
An over-complex element was replaced or omitted.
Sourcepub const RESOURCE_ELEMENT_WORK_EXCEEDED: Self
pub const RESOURCE_ELEMENT_WORK_EXCEEDED: Self
Element-local semantic work used local recovery.
Sourcepub const RESOURCE_ASSET_BYTES_EXCEEDED: Self
pub const RESOURCE_ASSET_BYTES_EXCEEDED: Self
One asset occurrence exceeded its byte ceiling.
Sourcepub const RESOURCE_ASSET_WORK_EXCEEDED: Self
pub const RESOURCE_ASSET_WORK_EXCEEDED: Self
One semantic asset exceeded its work ceiling.
Sourcepub const RESOURCE_IMAGE_DIMENSIONS_EXCEEDED: Self
pub const RESOURCE_IMAGE_DIMENSIONS_EXCEEDED: Self
Raster dimensions exceeded the local image ceiling.
Sourcepub const RESOURCE_IMAGE_PIXELS_EXCEEDED: Self
pub const RESOURCE_IMAGE_PIXELS_EXCEEDED: Self
Decoded image pixels exceeded the local asset ceiling.
Sourcepub const RESOURCE_NESTED_SVG_COMPLEXITY_EXCEEDED: Self
pub const RESOURCE_NESTED_SVG_COMPLEXITY_EXCEEDED: Self
Nested SVG complexity exceeded its local node ceiling.
Sourcepub const RESOURCE_NESTED_ASSET_DEPTH_EXCEEDED: Self
pub const RESOURCE_NESTED_ASSET_DEPTH_EXCEEDED: Self
Nested asset discovery exceeded its local depth ceiling.
Sourcepub const RESOURCE_COORDINATE_RANGE_EXCEEDED: Self
pub const RESOURCE_COORDINATE_RANGE_EXCEEDED: Self
A coordinate exceeded its local magnitude ceiling.
Sourcepub const RESOURCE_OPTIONAL_METADATA_OMITTED: Self
pub const RESOURCE_OPTIONAL_METADATA_OMITTED: Self
Optional metadata was omitted after a resource crossing.
Sourcepub const METADATA_PROVENANCE_SERIALIZATION_FAILED: Self
pub const METADATA_PROVENANCE_SERIALIZATION_FAILED: Self
Provenance serialization failed and was omitted.
Sourcepub const METADATA_DIAGNOSTIC_SUMMARY_SERIALIZATION_FAILED: Self
pub const METADATA_DIAGNOSTIC_SUMMARY_SERIALIZATION_FAILED: Self
Diagnostic-summary serialization failed and was omitted.
Sourcepub const METADATA_SCENE_SERIALIZATION_FAILED: Self
pub const METADATA_SCENE_SERIALIZATION_FAILED: Self
Embedded-scene serialization failed and was omitted.
Sourcepub const METADATA_SCENE_COMPRESSION_FAILED: Self
pub const METADATA_SCENE_COMPRESSION_FAILED: Self
Embedded-scene compression failed and was omitted.
Sourcepub const METADATA_SCENE_EMBEDDING_FAILED: Self
pub const METADATA_SCENE_EMBEDDING_FAILED: Self
Embedded-scene carrier insertion failed and was omitted.
Sourcepub const METADATA_MANIFEST_SERIALIZATION_FAILED: Self
pub const METADATA_MANIFEST_SERIALIZATION_FAILED: Self
Artifact-manifest serialization failed.
Sourcepub const METADATA_MANIFEST_EMBEDDING_FAILED: Self
pub const METADATA_MANIFEST_EMBEDDING_FAILED: Self
Artifact-manifest carrier insertion failed.
Sourcepub const PDF_RASTER_FALLBACK: Self
pub const PDF_RASTER_FALLBACK: Self
A permitted isolated PDF closure was rasterized.
Trait Implementations§
Source§impl Clone for DiagnosticCode
impl Clone for DiagnosticCode
impl Copy for DiagnosticCode
Source§impl Debug for DiagnosticCode
impl Debug for DiagnosticCode
Source§impl Display for DiagnosticCode
impl Display for DiagnosticCode
impl Eq for DiagnosticCode
Source§impl Hash for DiagnosticCode
impl Hash for DiagnosticCode
Source§impl PartialEq for DiagnosticCode
impl PartialEq for DiagnosticCode
Source§impl Serialize for DiagnosticCode
impl Serialize for DiagnosticCode
impl StructuralPartialEq for DiagnosticCode
Auto Trait Implementations§
impl Freeze for DiagnosticCode
impl RefUnwindSafe for DiagnosticCode
impl Send for DiagnosticCode
impl Sync for DiagnosticCode
impl Unpin for DiagnosticCode
impl UnsafeUnpin for DiagnosticCode
impl UnwindSafe for DiagnosticCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
T, using the provided data to resolve any offsets.Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
T, using the provided data to resolve any offsets.