opendrive 0.1.0+1.7.0

OpenDRIVE parser and writer for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub type Result<T> = std::result::Result<T, Box<Error>>;

#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("The written output is no valid UTF8-String: {0}")]
    FromUtf8Error(#[from] std::string::FromUtf8Error),
    #[error("The xml write process failed because of an internal error: {0}")]
    XmlError(#[from] xml::writer::Error),
    #[error("The xml write process failed because of an io-error: {0}")]
    IoError(#[from] std::io::Error),
}