pub enum EncodeRolesError {
NotALeaf,
SameLeaf,
ReservedRole,
TooLarge,
}Expand description
Why a list of roles could not be encoded.
Variants§
NotALeaf
An entry names a node the scene does not have, or one that is not a leaf.
SameLeaf
Two entries name the same leaf.
ReservedRole
An entry has a reserved role, which a writer must not write.
TooLarge
There are 2^32 or more entries.
Trait Implementations§
Source§impl Clone for EncodeRolesError
impl Clone for EncodeRolesError
Source§impl Debug for EncodeRolesError
impl Debug for EncodeRolesError
Source§impl Display for EncodeRolesError
impl Display for EncodeRolesError
impl Eq for EncodeRolesError
Source§impl Error for EncodeRolesError
impl Error for EncodeRolesError
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 EncodeRolesError
impl PartialEq for EncodeRolesError
impl StructuralPartialEq for EncodeRolesError
Auto Trait Implementations§
impl Forget for EncodeRolesError
impl Freeze for EncodeRolesError
impl Move for EncodeRolesError
impl RefUnwindSafe for EncodeRolesError
impl Send for EncodeRolesError
impl Sync for EncodeRolesError
impl Unpin for EncodeRolesError
impl UnsafeUnpin for EncodeRolesError
impl UnwindSafe for EncodeRolesError
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