Enum las::Error [] [src]

pub enum Error {
    ClosedWriter,
    Utf8(Utf8Error),
    InvalidFileSignature(String),
    InvalidPointDataRecordLength(Formatu16),
    Io(Error),
    MissingColor(FormatPoint),
    MissingGpsTime(FormatPoint),
    NotAscii(String),
    NotNulFilled(Vec<u8>),
    ReservedIsNotZero,
    UnsupportedPointFormat(Format),
}

Crate-specific error enum.

Variants

The Writer is closed and cannot be written to.

Wrapper around std::str::Utf8Error.

The file signature was not "LASF".

The point data record length is less than the point format demands.

Wrapper around std::io::Error.

The point format requires color, but the point did not have color set.

The point format requires gps time, but the point did not have gps time set.

This string is not ASCII, and it was suppoed to be.

The buffer was not filled with nuls after the last ASCII character.

The reserved field is not zero.

The point format is not supported by this library.

It might be valid, but we just can't handle it.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.