pub enum ExternalHookRunnerError {
Timeout(Duration),
Io(String),
}Expand description
Error from an external hook runner.
Variants§
Timeout(Duration)
Timed out waiting for the handler.
Io(String)
Spawn / I/O / process failure (fail-open at registry layer).
Trait Implementations§
Source§impl Debug for ExternalHookRunnerError
impl Debug for ExternalHookRunnerError
Source§impl Display for ExternalHookRunnerError
impl Display for ExternalHookRunnerError
Source§impl Error for ExternalHookRunnerError
impl Error for ExternalHookRunnerError
1.30.0 · 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 ExternalHookRunnerError
impl RefUnwindSafe for ExternalHookRunnerError
impl Send for ExternalHookRunnerError
impl Sync for ExternalHookRunnerError
impl Unpin for ExternalHookRunnerError
impl UnsafeUnpin for ExternalHookRunnerError
impl UnwindSafe for ExternalHookRunnerError
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