pub enum LoadError {
InsufficientSpace,
AddressInUse(usize),
}Expand description
Errors loading a PIO program.
Variants§
InsufficientSpace
Insufficient consecutive free instruction space to load program.
AddressInUse(usize)
Loading the program would overwrite an instruction address already used by another program.
Trait Implementations§
impl Copy for LoadError
impl Eq for LoadError
impl StructuralPartialEq for LoadError
Auto Trait Implementations§
impl Freeze for LoadError
impl RefUnwindSafe for LoadError
impl Send for LoadError
impl Sync for LoadError
impl Unpin for LoadError
impl UnsafeUnpin for LoadError
impl UnwindSafe for LoadError
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