pub enum EncodeDocumentsError {
NotALeaf,
NoSuchMesh,
SameModel,
SharedSupport,
TooLarge,
}Expand description
Why a list of supports or hollows could not be encoded.
Variants§
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.
TooLarge
There are 2^32 or more entries, or a generator name or a document of 4 GiB or more.
Trait Implementations§
Source§impl Clone for EncodeDocumentsError
impl Clone for EncodeDocumentsError
Source§impl Debug for EncodeDocumentsError
impl Debug for EncodeDocumentsError
Source§impl Display for EncodeDocumentsError
impl Display for EncodeDocumentsError
impl Eq for EncodeDocumentsError
Source§impl Error for EncodeDocumentsError
impl Error for EncodeDocumentsError
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 EncodeDocumentsError
impl PartialEq for EncodeDocumentsError
impl StructuralPartialEq for EncodeDocumentsError
Auto Trait Implementations§
impl Forget for EncodeDocumentsError
impl Freeze for EncodeDocumentsError
impl Move for EncodeDocumentsError
impl RefUnwindSafe for EncodeDocumentsError
impl Send for EncodeDocumentsError
impl Sync for EncodeDocumentsError
impl Unpin for EncodeDocumentsError
impl UnsafeUnpin for EncodeDocumentsError
impl UnwindSafe for EncodeDocumentsError
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