Enum las::Error[][src]

pub enum Error {
    Feature {
        version: Version,
        feature: &'static str,
    },
    Header(Error),
    InverseTransform {
        n: f64,
        transform: Transform,
    },
    Io(Error),
    Laszip,
    NotAscii(String),
    NotZeroFilled(Vec<u8>),
    Point(Error),
    Reader(Error),
    StringTooLong {
        string: String,
        len: usize,
    },
    Utf8(Utf8Error),
    Writer(Error),
    Vlr(Error),
}

Crate-specific error enum.

Variants

Feature

Feature is not supported by version.

Fields of Feature

version: Versionfeature: &'static str
Header(Error)

A wrapper around las::header::Error.

InverseTransform

The value can't have the inverse transform applied.

Fields of InverseTransform

n: f64transform: Transform
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

This string is too long for the target slice.

Fields of StringTooLong

string: Stringlen: usize
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[src]

impl Error for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Utf8Error> for Error[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.