enum GhNotFound {
Fail,
Tolerate,
}Expand description
How a gh call’s “not found” failure should be classified.
Tolerate covers the shape the endpoint legitimately produces for a
mid-work state (an unpushed HEAD), which is a completed query with a
definitive negative rather than a failure.
Fail is a failure, not a level: every arm here records at DEBUG,
so the two differ in what the caller may conclude from the result
and not in what the log says.
Variants§
Auto Trait Implementations§
impl Freeze for GhNotFound
impl RefUnwindSafe for GhNotFound
impl Send for GhNotFound
impl Sync for GhNotFound
impl Unpin for GhNotFound
impl UnsafeUnpin for GhNotFound
impl UnwindSafe for GhNotFound
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