Enum agnes::source::FileLocator [] [src]

pub enum FileLocator {
    Http(Uri),
    File(PathBuf),
}

Identifiers / paths to find file locations.

Variants

A web-based location (URI)

A local file

Trait Implementations

impl Debug for FileLocator
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for FileLocator
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> From<&'a Path> for FileLocator
[src]

[src]

Performs the conversion.

impl<'a, P: AsRef<Path>> From<&'a P> for FileLocator
[src]

[src]

Performs the conversion.

impl From<PathBuf> for FileLocator
[src]

[src]

Performs the conversion.

impl From<Uri> for FileLocator
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for FileLocator

impl Sync for FileLocator