pub enum DecodeMeshError {
Malformed,
VertexOutOfRange,
}Expand description
Why a mesh payload could not be decoded.
Variants§
Malformed
The payload is cut short, padded or self-contradictory.
VertexOutOfRange
A triangle names a vertex the mesh does not have.
Trait Implementations§
Source§impl Clone for DecodeMeshError
impl Clone for DecodeMeshError
Source§impl Debug for DecodeMeshError
impl Debug for DecodeMeshError
Source§impl Display for DecodeMeshError
impl Display for DecodeMeshError
impl Eq for DecodeMeshError
Source§impl Error for DecodeMeshError
impl Error for DecodeMeshError
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 DecodeMeshError
impl PartialEq for DecodeMeshError
impl StructuralPartialEq for DecodeMeshError
Auto Trait Implementations§
impl Forget for DecodeMeshError
impl Freeze for DecodeMeshError
impl Move for DecodeMeshError
impl RefUnwindSafe for DecodeMeshError
impl Send for DecodeMeshError
impl Sync for DecodeMeshError
impl Unpin for DecodeMeshError
impl UnsafeUnpin for DecodeMeshError
impl UnwindSafe for DecodeMeshError
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