pub enum HelperError {
Io(Error),
Failed(String),
}Expand description
Things that can go wrong while invoking a credential helper.
Variants§
Io(Error)
Failed to spawn or talk to the helper subprocess.
Failed(String)
The helper ran but reported a failure (non-zero exit, malformed stdout, refused input, etc).
Trait Implementations§
Source§impl Debug for HelperError
impl Debug for HelperError
Source§impl Display for HelperError
impl Display for HelperError
Source§impl Error for HelperError
impl Error for HelperError
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 HelperError
impl !RefUnwindSafe for HelperError
impl Send for HelperError
impl Sync for HelperError
impl Unpin for HelperError
impl UnsafeUnpin for HelperError
impl !UnwindSafe for HelperError
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