pub enum DecodePreviewsError {
Malformed,
Mesh(DecodeMeshError),
NotALeaf,
MeshNotEmpty,
SameLeaf,
}Expand description
Why a support preview payload could not be decoded.
Variants§
Malformed
The payload is cut short or padded.
Mesh(DecodeMeshError)
A preview’s mesh is not a valid mesh chunk payload.
NotALeaf
A preview names a node the scene does not have, or one that is not a leaf.
MeshNotEmpty
A preview names a leaf that shows a mesh with vertices or triangles.
SameLeaf
Two previews name the same leaf.
Trait Implementations§
Source§impl Clone for DecodePreviewsError
impl Clone for DecodePreviewsError
Source§impl Debug for DecodePreviewsError
impl Debug for DecodePreviewsError
Source§impl Display for DecodePreviewsError
impl Display for DecodePreviewsError
impl Eq for DecodePreviewsError
Source§impl Error for DecodePreviewsError
impl Error for DecodePreviewsError
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 DecodePreviewsError
impl PartialEq for DecodePreviewsError
impl StructuralPartialEq for DecodePreviewsError
Auto Trait Implementations§
impl Forget for DecodePreviewsError
impl Freeze for DecodePreviewsError
impl Move for DecodePreviewsError
impl RefUnwindSafe for DecodePreviewsError
impl Send for DecodePreviewsError
impl Sync for DecodePreviewsError
impl Unpin for DecodePreviewsError
impl UnsafeUnpin for DecodePreviewsError
impl UnwindSafe for DecodePreviewsError
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