Enum las::error::Error [] [src]

pub enum Error {
    Byteorder(Error),
    InvalidClassification(u8),
    InvalidNumberOfReturns(u8),
    InvalidPointDataFormat(u8),
    InvalidReturnNumber(u8),
    Io(Error),
    PointFormat(PointDataFormat, String),
}

Crate-specific errors.

Variants

Byteorder

Wraps byteorder::Error.

InvalidClassification

Invalid classification value.

InvalidNumberOfReturns

Point number of returns was out of bounds.

InvalidPointDataFormat

Unrecognized point data format.

InvalidReturnNumber

Point return number was out of allowed bounds.

Io

Wraps std::io::Error.

PointFormat

Tried to write a point to a format it doesn't support.

Trait Implementations

impl Error for Error

fn description(&self) -> &str

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

impl Display for Error

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

impl From<Error> for Error

fn from(err: Error) -> Error

impl From<Error> for Error

fn from(err: Error) -> Error

Derived Implementations

impl Debug for Error

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