Enum earth::repository::Error
[−]
[src]
pub enum Error { InvalidKey(Vec<String>, Option<Error>), InvalidUrl(&'static str), NotADirectory(PathBuf), CannotBorrow, Io(Error), }
Variants
InvalidKey(Vec<String>, Option<Error>)
InvalidUrl(&'static str)
NotADirectory(PathBuf)
CannotBorrow
Io(Error)
Methods
impl Error
[src]
fn invalid_key<T: AsRef<str>>(key: &[T], cause: Option<Error>) -> Error
fn invalid_url(detail: &'static str) -> Error
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more