blob: 4aeafa506e59650aca351ed800be593022ff1f7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
pub mod file;
pub mod string;
use std::error::Error;
use source::Source;
use super::FileFormat;
/// Describes where the file is sourced
pub trait FileSource {
fn resolve(&self, format_hint: Option<FileFormat>) -> Result<(Option<String>, String), Box<Error>>;
}
|