pub enum ExternalIndexError {
PastEnd,
BelowStart,
}Expand description
Why externals[m_FileID - 1] fails (rule 3).
Variants§
PastEnd
m_FileID - 1 >= len: FileNotFoundError ("invalid m_FileID").
BelowStart
m_FileID - 1 < -len: Python’s IndexError.
Trait Implementations§
Source§impl Clone for ExternalIndexError
impl Clone for ExternalIndexError
impl Copy for ExternalIndexError
Source§impl Debug for ExternalIndexError
impl Debug for ExternalIndexError
impl Eq for ExternalIndexError
Source§impl Hash for ExternalIndexError
impl Hash for ExternalIndexError
Source§impl PartialEq for ExternalIndexError
impl PartialEq for ExternalIndexError
impl StructuralPartialEq for ExternalIndexError
Auto Trait Implementations§
impl Forget for ExternalIndexError
impl Freeze for ExternalIndexError
impl Move for ExternalIndexError
impl RefUnwindSafe for ExternalIndexError
impl Send for ExternalIndexError
impl Sync for ExternalIndexError
impl Unpin for ExternalIndexError
impl UnsafeUnpin for ExternalIndexError
impl UnwindSafe for ExternalIndexError
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