#[non_exhaustive]pub enum RenderErrorCategory {
Input,
Capability,
ResourceLimit,
NoMeaningfulArtifact,
Encoding,
Internal,
}Expand description
Stable category of a fatal render failure.
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.
Input
Admitted scene input could not produce bounded global semantics.
Capability
A capability required by the render is unavailable in this build.
ResourceLimit
A configured semantic resource ceiling was crossed.
NoMeaningfulArtifact
Rendering could not retain a meaningful complete artifact.
Encoding
Complete artifact encoding failed.
Internal
A trusted renderer invariant failed.
Implementations§
Trait Implementations§
Source§impl Clone for RenderErrorCategory
impl Clone for RenderErrorCategory
impl Copy for RenderErrorCategory
Source§impl Debug for RenderErrorCategory
impl Debug for RenderErrorCategory
Source§impl Display for RenderErrorCategory
impl Display for RenderErrorCategory
impl Eq for RenderErrorCategory
Source§impl PartialEq for RenderErrorCategory
impl PartialEq for RenderErrorCategory
Source§impl Serialize for RenderErrorCategory
impl Serialize for RenderErrorCategory
impl StructuralPartialEq for RenderErrorCategory
Auto Trait Implementations§
impl Freeze for RenderErrorCategory
impl RefUnwindSafe for RenderErrorCategory
impl Send for RenderErrorCategory
impl Sync for RenderErrorCategory
impl Unpin for RenderErrorCategory
impl UnsafeUnpin for RenderErrorCategory
impl UnwindSafe for RenderErrorCategory
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
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
Compare self to
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
Convert this type into
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
Convert this type into
T, using the provided data to resolve any offsets.