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
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
Unsupported(String)
Feature not supported
Core(String)
OxiGDAL core error
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<DecodeError> for Error
impl From<DecodeError> for Error
Source§fn from(err: DecodeError) -> Self
fn from(err: DecodeError) -> Self
Source§impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Source§impl From<OxiGdalError> for Error
impl From<OxiGdalError> for Error
Source§fn from(err: OxiGdalError) -> Self
fn from(err: OxiGdalError) -> Self
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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