pub enum DecodeDocumentsError {
Malformed,
NotALeaf,
NoSuchMesh,
SameModel,
SharedSupport,
}Expand description
Why a supports or hollows payload could not be decoded.
Variants§
Malformed
The payload is cut short, padded, or not text where text belongs.
NotALeaf
A model or a support leaf names a node the scene does not have, or one that is not a leaf.
NoSuchMesh
An original names a mesh the scene does not have.
SameModel
Two entries name the same model.
Two entries name the same support leaf, or a support leaf is also a model.
Trait Implementations§
Source§impl Clone for DecodeDocumentsError
impl Clone for DecodeDocumentsError
Source§impl Debug for DecodeDocumentsError
impl Debug for DecodeDocumentsError
Source§impl Display for DecodeDocumentsError
impl Display for DecodeDocumentsError
impl Eq for DecodeDocumentsError
Source§impl Error for DecodeDocumentsError
impl Error for DecodeDocumentsError
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 DecodeDocumentsError
impl PartialEq for DecodeDocumentsError
impl StructuralPartialEq for DecodeDocumentsError
Auto Trait Implementations§
impl Forget for DecodeDocumentsError
impl Freeze for DecodeDocumentsError
impl Move for DecodeDocumentsError
impl RefUnwindSafe for DecodeDocumentsError
impl Send for DecodeDocumentsError
impl Sync for DecodeDocumentsError
impl Unpin for DecodeDocumentsError
impl UnsafeUnpin for DecodeDocumentsError
impl UnwindSafe for DecodeDocumentsError
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