Enum agnes::source::FileLocator
[−]
[src]
pub enum FileLocator { Http(Uri), File(PathBuf), }
Identifiers / paths to find file locations.
Variants
Http(Uri)
A web-based location (URI)
File(PathBuf)
A local file
Trait Implementations
impl Debug for FileLocator
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for FileLocator
[src]
fn clone(&self) -> FileLocator
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> From<&'a Path> for FileLocator
[src]
fn from(orig: &'a Path) -> FileLocator
[src]
Performs the conversion.
impl<'a, P: AsRef<Path>> From<&'a P> for FileLocator
[src]
fn from(orig: &'a P) -> FileLocator
[src]
Performs the conversion.
impl From<PathBuf> for FileLocator
[src]
fn from(orig: PathBuf) -> FileLocator
[src]
Performs the conversion.
impl From<Uri> for FileLocator
[src]
fn from(orig: Uri) -> FileLocator
[src]
Performs the conversion.