[][src]Enum weld::runtime::WeldRuntimeErrno

#[repr(u64)]
pub enum WeldRuntimeErrno { Success, ConfigurationError, LoadLibraryError, CompileError, ArrayOutOfBounds, BadIteratorLength, MismatchedZipSize, OutOfMemory, RunNotFound, Unknown, DeserializationError, KeyNotFoundError, AssertionError, ErrnoMax, }

An errno set by the runtime but also used by the Weld API.

Variants

Success

Indicates success.

This will always be 0.

ConfigurationError

Invalid configuration.

LoadLibraryError

Dynamic library load error.

CompileError

Weld compilation error.

ArrayOutOfBounds

Array out-of-bounds error.

BadIteratorLength

A Weld iterator was invalid.

MismatchedZipSize

Mismatched Zip error.

This error is thrown if the vectors in a Zip have different lengths.

OutOfMemory

Out of memory error.

This error is thrown if the amount of memory allocated by the runtime exceeds the limit set by the configuration.

RunNotFoundUnknown

An unknown error.

DeserializationError

A deserialization error.

This error occurs if a buffer being deserialized has an invalid length.

KeyNotFoundError

A key was not found in a dictionary.

AssertionError

An assertion evaluated to false.

ErrnoMax

Maximum errno value.

All errors will have a value less than this value and greater than 0.

Trait Implementations

impl Eq for WeldRuntimeErrno[src]

impl Copy for WeldRuntimeErrno[src]

impl PartialOrd<WeldRuntimeErrno> for WeldRuntimeErrno[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<WeldRuntimeErrno> for WeldRuntimeErrno[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for WeldRuntimeErrno[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for WeldRuntimeErrno[src]

fn fmt(&self, f: &mut Formatter) -> Result[src]

Just return the errno name.

impl Debug for WeldRuntimeErrno[src]

Auto Trait Implementations

impl Send for WeldRuntimeErrno

impl Sync for WeldRuntimeErrno

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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