[−][src]Enum artichoke_backend::extn::prelude::IncrementLinenoError
Errors encountered when incrementing line numbers on parser state.
Errors include overflows of the interpreters line counter.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Overflow(usize)
An overflow occurred when incrementing the line number.
This error is reported based on the internal parser storage width and contains the max value the parser can store.
Trait Implementations
impl Clone for IncrementLinenoError
[src]
pub fn clone(&self) -> IncrementLinenoError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for IncrementLinenoError
[src]
impl Debug for IncrementLinenoError
[src]
impl Display for IncrementLinenoError
[src]
impl Eq for IncrementLinenoError
[src]
impl Error for IncrementLinenoError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<IncrementLinenoError> for Error
[src]
fn from(exception: IncrementLinenoError) -> Self
[src]
impl Hash for IncrementLinenoError
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for IncrementLinenoError
[src]
pub fn cmp(&self, other: &IncrementLinenoError) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<IncrementLinenoError> for IncrementLinenoError
[src]
pub fn eq(&self, other: &IncrementLinenoError) -> bool
[src]
pub fn ne(&self, other: &IncrementLinenoError) -> bool
[src]
impl PartialOrd<IncrementLinenoError> for IncrementLinenoError
[src]
pub fn partial_cmp(&self, other: &IncrementLinenoError) -> Option<Ordering>
[src]
pub fn lt(&self, other: &IncrementLinenoError) -> bool
[src]
pub fn le(&self, other: &IncrementLinenoError) -> bool
[src]
pub fn gt(&self, other: &IncrementLinenoError) -> bool
[src]
pub fn ge(&self, other: &IncrementLinenoError) -> bool
[src]
impl RubyException for IncrementLinenoError
[src]
fn message(&self) -> Cow<'_, [u8]>
[src]
fn name(&self) -> Cow<'_, str>
[src]
fn vm_backtrace(&self, interp: &mut Artichoke) -> Option<Vec<Vec<u8>>>
[src]
fn as_mrb_value(&self, interp: &mut Artichoke) -> Option<mrb_value>
[src]
impl StructuralEq for IncrementLinenoError
[src]
impl StructuralPartialEq for IncrementLinenoError
[src]
Auto Trait Implementations
impl RefUnwindSafe for IncrementLinenoError
[src]
impl Send for IncrementLinenoError
[src]
impl Sync for IncrementLinenoError
[src]
impl Unpin for IncrementLinenoError
[src]
impl UnwindSafe for IncrementLinenoError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,