pub enum Error {
Version,
Instruction(DecodeError),
Capacity,
Bus,
Object,
Ports,
Buffers,
Event,
}Expand description
Indicates which part of a program or render request could not be accepted.
Variants§
Version
Missing or unsupported version byte.
Instruction(DecodeError)
Unknown opcode or incomplete operands.
Capacity
The program exceeds an instruction, bus, or per-object port limit.
Bus
A source refers to a bus which has not yet been produced.
Object
An object is absent or called more than once per block.
Ports
The declared signal arity differs from the object’s port layout.
Buffers
Too few signal buffers were supplied.
Event
An input event has an invalid destination, frame offset, or order.
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Forget for Error
impl Freeze for Error
impl Move for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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