Enum gurobi::Error [] [src]

pub enum Error {
    FromAPI(Stringc_int),
    NulError(NulError),
    InconsitentDims,
}

The error type for operations in Gurobi Rust API

Variants

FromAPI(Stringc_int)

An exception returned from Gurobi C API

NulError(NulError)

See https://doc.rust-lang.org/std/ffi/struct.NulError.html

InconsitentDims

Inconsistent argument dimensions

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<NulError> for Error
[src]

fn from(err: NulError) -> Error

Performs the conversion.

impl Display for Error
[src]

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

Formats the value using the given formatter.

impl Error for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more