pub enum GithubReading {
Found {
login: String,
},
NoCli,
NotLoggedIn,
Failed {
exit: Option<i32>,
},
Stuck {
why: String,
},
NotAHost,
}Expand description
What the GitHub CLI said about one host, or the named reason it said
nothing. Every reading but Found leaves the card as the person left
it, and each names the way on that the page offers.
Variants§
Found
The login the host’s current authenticated identity has.
NoCli
No gh on the search path of the machine serving the city.
NotLoggedIn
gh is there and this host has nobody signed in.
Failed
Any other failure: the network, or gh’s own error. exit is
absent when there was no exit code to read: gh would not start,
or was stopped when it outran the wait.
Stuck
gh outran the wait and this city could not stop it: the process
is still running on the city’s machine, and why is what went
wrong while stopping it.
NotAHost
The host asked for is not a host name, so gh was not started.
Trait Implementations§
Source§impl Clone for GithubReading
impl Clone for GithubReading
Source§impl Debug for GithubReading
impl Debug for GithubReading
Source§impl<'de> Deserialize<'de> for GithubReading
impl<'de> Deserialize<'de> for GithubReading
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GithubReading
Source§impl PartialEq for GithubReading
impl PartialEq for GithubReading
Source§impl Serialize for GithubReading
impl Serialize for GithubReading
impl StructuralPartialEq for GithubReading
Auto Trait Implementations§
impl Freeze for GithubReading
impl RefUnwindSafe for GithubReading
impl Send for GithubReading
impl Sync for GithubReading
impl Unpin for GithubReading
impl UnsafeUnpin for GithubReading
impl UnwindSafe for GithubReading
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