pub enum SshAuthError {
Io(Error),
Failed(String),
Json(String),
}Expand description
Things that can go wrong while resolving SSH-based credentials.
Variants§
Io(Error)
Failed to spawn or talk to the ssh subprocess.
Failed(String)
git-lfs-authenticate ran but exited non-zero.
Json(String)
git-lfs-authenticate stdout wasn’t a parseable JSON response.
Trait Implementations§
Source§impl Debug for SshAuthError
impl Debug for SshAuthError
Source§impl Display for SshAuthError
impl Display for SshAuthError
Source§impl Error for SshAuthError
impl Error for SshAuthError
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()
Auto Trait Implementations§
impl Freeze for SshAuthError
impl !RefUnwindSafe for SshAuthError
impl Send for SshAuthError
impl Sync for SshAuthError
impl Unpin for SshAuthError
impl UnsafeUnpin for SshAuthError
impl !UnwindSafe for SshAuthError
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