Enum cvode_wrap::Error[][src]

pub enum Error {
    NullPointerError {
        func_id: &'static str,
    },
    ErrorCode {
        func_id: &'static str,
        flag: c_int,
    },
}
Expand description

The error type for this crate

Variants

NullPointerError
Show fields

Fields of NullPointerError

func_id: &'static str
ErrorCode
Show fields

Fields of ErrorCode

func_id: &'static strflag: c_int

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.