lwgeom 0.0.2

Rust bindings for the LWGEOM geometry library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

pub type Result<T> = core::result::Result<T, LWGeomError>;

#[derive(Debug, Error)]
pub enum LWGeomError {
    #[error("Fail to convert to CString")]
    CStringError(#[from] std::ffi::NulError),
    #[error("The ptr should not be null")]
    NullPtrError,
}