[][src]Struct artichoke_backend::value::ArgCountError

pub struct ArgCountError {
    pub given: usize,
    pub max: usize,
}

Argument count exceeds maximum allowed by the VM.

Fields

given: usize

Number of arguments given.

max: usize

Maximum number of arguments supported.

Implementations

impl ArgCountError[src]

#[must_use]pub fn new() -> Self[src]

Constructs a new, empty ArgCountError.

Trait Implementations

impl Clone for ArgCountError[src]

impl Copy for ArgCountError[src]

impl Debug for ArgCountError[src]

impl Default for ArgCountError[src]

impl Display for ArgCountError[src]

impl Eq for ArgCountError[src]

impl Error for ArgCountError[src]

impl From<ArgCountError> for Error[src]

impl Hash for ArgCountError[src]

impl Ord for ArgCountError[src]

impl PartialEq<ArgCountError> for ArgCountError[src]

impl PartialOrd<ArgCountError> for ArgCountError[src]

impl RubyException for ArgCountError[src]

impl StructuralEq for ArgCountError[src]

impl StructuralPartialEq for ArgCountError[src]

impl TryFrom<&'_ [Value]> for ArgCountError[src]

type Error = ()

The type returned in the event of a conversion error.

impl TryFrom<&'_ [mrb_value]> for ArgCountError[src]

type Error = ()

The type returned in the event of a conversion error.

impl TryFrom<Vec<Value, Global>> for ArgCountError[src]

type Error = ()

The type returned in the event of a conversion error.

impl TryFrom<Vec<mrb_value, Global>> for ArgCountError[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for ArgCountError[src]

impl Send for ArgCountError[src]

impl Sync for ArgCountError[src]

impl Unpin for ArgCountError[src]

impl UnwindSafe for ArgCountError[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]