pub enum RleLengthError {
Empty,
NotWholeBlocks,
TooLong,
PastBuffer,
}Expand description
A run-length length the MDEC cannot be handed.
Variants§
Empty
No words: the DMA block count would be 0, which means 65,536 blocks.
NotWholeBlocks
Not a whole number of 32-word DMA blocks, so the decode command’s word count and the DMA length would disagree.
TooLong
More than MAX_WORDS: the decode command’s 16-bit word count would
wrap.
PastBuffer
More words than the buffer holds.
Trait Implementations§
Source§impl Clone for RleLengthError
impl Clone for RleLengthError
Source§fn clone(&self) -> RleLengthError
fn clone(&self) -> RleLengthError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RleLengthError
impl Debug for RleLengthError
Source§impl Display for RleLengthError
impl Display for RleLengthError
Source§impl PartialEq for RleLengthError
impl PartialEq for RleLengthError
impl Copy for RleLengthError
impl Eq for RleLengthError
impl StructuralPartialEq for RleLengthError
Auto Trait Implementations§
impl Freeze for RleLengthError
impl RefUnwindSafe for RleLengthError
impl Send for RleLengthError
impl Sync for RleLengthError
impl Unpin for RleLengthError
impl UnsafeUnpin for RleLengthError
impl UnwindSafe for RleLengthError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)