pub enum DecodeRolesError {
Malformed,
NotALeaf,
SameLeaf,
}Expand description
Why a role payload could not be decoded.
Variants§
Malformed
The payload is cut short or padded.
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.
Trait Implementations§
Source§impl Clone for DecodeRolesError
impl Clone for DecodeRolesError
Source§impl Debug for DecodeRolesError
impl Debug for DecodeRolesError
Source§impl Display for DecodeRolesError
impl Display for DecodeRolesError
impl Eq for DecodeRolesError
Source§impl Error for DecodeRolesError
impl Error for DecodeRolesError
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 DecodeRolesError
impl PartialEq for DecodeRolesError
impl StructuralPartialEq for DecodeRolesError
Auto Trait Implementations§
impl Forget for DecodeRolesError
impl Freeze for DecodeRolesError
impl Move for DecodeRolesError
impl RefUnwindSafe for DecodeRolesError
impl Send for DecodeRolesError
impl Sync for DecodeRolesError
impl Unpin for DecodeRolesError
impl UnsafeUnpin for DecodeRolesError
impl UnwindSafe for DecodeRolesError
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