Enum las::Error
[−]
pub enum Error { Feature(Version, &'static str), Header(Error), InverseTransform(f64, Transform), Io(Error), Laszip, NotAscii(String), NotZeroFilled(Vec<u8>), Point(Error), Reader(Error), StringTooLong(String, usize), Utf8(Utf8Error), Writer(Error), Vlr(Error), }
Crate-specific error enum.
Variants
Feature(Version, &'static str)
Feature is not supported by version.
Header(Error)
A wrapper around las::header::Error
.
InverseTransform(f64, Transform)
The value can't have the inverse transform applied.
Io(Error)
Wrapper around std::io::Error
.
Laszip
The las data is laszip compressed.
NotAscii(String)
This string is not ASCII.
NotZeroFilled(Vec<u8>)
These bytes are not zero-filled.
Point(Error)
Wrapper around las::point::Error
.
Reader(Error)
Wrapper around las::reader::Error
.
StringTooLong(String, usize)
This string is too long for the target slice.
Utf8(Utf8Error)
Wrapper around std::str::Utf8Error
.
Writer(Error)
Wrapper around las::writer::Error
.
Vlr(Error)
Wrapper around las::vlr::Error
.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more