datasources 0.1.58

Async datasource interfaces, middleware, registry, and test doubles
Documentation
1
2
3
4
5
6
use crate::result::Result;

pub trait DefaultValueConverter: Send + Sync {
    fn convert(&self, spec_type: &str, text: &str) -> Result<Option<String>>;
    fn reverse_convert(&self, spec_type: &str, native: &str) -> Result<String>;
}