INNER CODE UNIT · Rust
default
Trow-Registry/trow · src/lib.rs:81
fn default() -> Self {
Self::new()
}
}
#[derive(thiserror::Error, Debug)]
pub enum TrowConfigError {
#[error("Could not read file: {0}")]
IoError(#[from] std::io::Error),
#[error("Could not parse config file: {0}")]
SerdeError(#[from] serde_yaml_ng::Error),
#[error("Could not setup database: {0}")]
DbSetupError(#[from] sqlx::migrate::MigrateError),
#[error("Could not setup storage backend: {0}")]
StorageBackendSetupError(#[from] StorageBackendError),
}
impl TrowConfig {