Generate documentation in Rust format for use in code.
/// An enum representing possible errors during CRUD operations. #[derive(Error, Debug)] enum CrudError { /// Indicates an error occurred while interacting with the SQLite database. /// /// This variant wraps a `rusqlite::Error`, providing details about the specific SQLite error. #[error("SQLite error: {0}")] SqliteError(rusqlite::Error), /// Indicates an error related to input/output operations. /// /// This variant wraps a `std::io::Error`, giving information about the specific IO problem encountered. #[error("IO error: {0}")] IoError(std::io::Error), }
Generate documentation in Rust format for use in code.