pub enum DecodeProgramDataError {
Malformed,
NoSuchNode,
SameEntry,
}Expand description
Why a program data payload could not be decoded.
Variants§
Malformed
The payload is cut short or padded, or a program name breaks the rules of section 13.1.
NoSuchNode
An entry names a node the scene does not have.
SameEntry
Two entries have the same program and subject.
Trait Implementations§
Source§impl Clone for DecodeProgramDataError
impl Clone for DecodeProgramDataError
Source§impl Debug for DecodeProgramDataError
impl Debug for DecodeProgramDataError
Source§impl Display for DecodeProgramDataError
impl Display for DecodeProgramDataError
impl Eq for DecodeProgramDataError
Source§impl Error for DecodeProgramDataError
impl Error for DecodeProgramDataError
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 DecodeProgramDataError
impl PartialEq for DecodeProgramDataError
impl StructuralPartialEq for DecodeProgramDataError
Auto Trait Implementations§
impl Forget for DecodeProgramDataError
impl Freeze for DecodeProgramDataError
impl Move for DecodeProgramDataError
impl RefUnwindSafe for DecodeProgramDataError
impl Send for DecodeProgramDataError
impl Sync for DecodeProgramDataError
impl Unpin for DecodeProgramDataError
impl UnsafeUnpin for DecodeProgramDataError
impl UnwindSafe for DecodeProgramDataError
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