pub enum LoadRepoError {
Io(Error),
GitFail(GitFail),
NoCommit {
sha: String,
},
NoConfig,
BadConfig(BadConfig),
MissingAuth,
}Expand description
Things that go wrong when trying to clone and read a font repo
Variants§
Io(Error)
GitFail(GitFail)
NoCommit
The expected commit could not be found
NoConfig
No config file was found
BadConfig(BadConfig)
MissingAuth
Trait Implementations§
Source§impl Debug for LoadRepoError
impl Debug for LoadRepoError
Source§impl Display for LoadRepoError
impl Display for LoadRepoError
Source§impl Error for LoadRepoError
impl Error for LoadRepoError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BadConfig> for LoadRepoError
impl From<BadConfig> for LoadRepoError
Source§impl From<Error> for LoadRepoError
impl From<Error> for LoadRepoError
Auto Trait Implementations§
impl Freeze for LoadRepoError
impl !RefUnwindSafe for LoadRepoError
impl Send for LoadRepoError
impl Sync for LoadRepoError
impl Unpin for LoadRepoError
impl !UnwindSafe for LoadRepoError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more