pub trait ResourceResolver: Send + Sync {
// Required method
fn resolve(&self, path: &str) -> Result<Vec<u8>, CamelError>;
}Expand description
Resolves schema resources. Currently only filesystem paths are supported. TODO(VAL-013): Implement URL and classpath resolvers.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".