Skip to main content

Error

Enum Error 

Source
pub enum Error {
Show 44 variants Io(Error), Las(String), LazCompression(String), UnsupportedPointFormat(u8), Copc(String), Ept(String), MeshFormat(String), ObjExport(String), Gltf(String), GltfJson(String), Tin(String), Triangulation(String), DemToMesh(String), Tiles3d(String), TilesetJson(String), B3dm(String), Pnts(String), Classification(String), GroundClassification(String), SpatialIndex(String), InvalidBounds(String), InvalidGeometry(String), EmptyDataset(String), InvalidPointCount { expected: usize, actual: usize, }, InvalidTriangleCount(usize), InvalidMesh(String), MissingTexture(String), InvalidTextureCoords(String), Http(String), RangeRequest(String), Json(String), Utf8(FromUtf8Error), Base64Decode(String), Compression(String), Decompression(String), MemoryAllocation(String), Octree(String), HierarchicalLod(String), TileLoading(String), Metadata(String), InvalidHeader(String), VersionMismatch { expected: String, actual: String, }, Unsupported(String), Core(String),
}
Expand description

Error types for 3D visualization and point cloud operations

Variants§

§

Io(Error)

I/O error

§

Las(String)

LAS/LAZ format error

§

LazCompression(String)

LAZ compression error

§

UnsupportedPointFormat(u8)

Point format error

§

Copc(String)

COPC (Cloud Optimized Point Cloud) error

§

Ept(String)

EPT (Entwine Point Tiles) error

§

MeshFormat(String)

Mesh format error

§

ObjExport(String)

OBJ export error

§

Gltf(String)

glTF/GLB error

§

GltfJson(String)

glTF JSON error

§

Tin(String)

TIN (Triangulated Irregular Network) error

§

Triangulation(String)

Triangulation error

§

DemToMesh(String)

DEM to mesh conversion error

§

Tiles3d(String)

3D Tiles error

§

TilesetJson(String)

Tileset JSON error

§

B3dm(String)

B3DM (Batched 3D Model) error

§

Pnts(String)

PNTS (Point Cloud) tile error

§

Classification(String)

Classification error

§

GroundClassification(String)

Ground classification error

§

SpatialIndex(String)

Spatial indexing error

§

InvalidBounds(String)

Invalid bounds

§

InvalidGeometry(String)

Invalid geometry

§

EmptyDataset(String)

Empty dataset

§

InvalidPointCount

Invalid point count

Fields

§expected: usize

Expected number of points

§actual: usize

Actual number of points

§

InvalidTriangleCount(usize)

Invalid triangle count

§

InvalidMesh(String)

Invalid mesh

§

MissingTexture(String)

Missing texture

§

InvalidTextureCoords(String)

Invalid texture coordinates

§

Http(String)

HTTP request error (for COPC, EPT)

§

RangeRequest(String)

Range request error

§

Json(String)

JSON parsing error

§

Utf8(FromUtf8Error)

UTF-8 encoding error

§

Base64Decode(String)

Base64 decode error

§

Compression(String)

Compression error

§

Decompression(String)

Decompression error

§

MemoryAllocation(String)

Memory allocation error

§

Octree(String)

Octree error

§

HierarchicalLod(String)

Hierarchical LOD error

§

TileLoading(String)

Tile loading error

§

Metadata(String)

Metadata error

§

InvalidHeader(String)

Invalid header

§

VersionMismatch

Version mismatch

Fields

§expected: String

Expected version

§actual: String

Actual version

§

Unsupported(String)

Feature not supported

§

Core(String)

OxiGDAL core error

Trait Implementations§

Source§

impl Debug for Error

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Display for Error

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for Error

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

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

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<DecodeError> for Error

Source§

fn from(err: DecodeError) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Error

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Error

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Error

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Error

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<FromUtf8Error> for Error

Source§

fn from(source: FromUtf8Error) -> Self

Converts to this type from the input type.
Source§

impl From<OxiGdalError> for Error

Source§

fn from(err: OxiGdalError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnsafeUnpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.