pub enum HarnessLogin {
LoggedIn,
LoggedOut {
reason: String,
},
NotChecked {
reason: String,
},
}Expand description
Whether the harness is logged in, as the driver reads its login check.
Variants§
LoggedIn
LoggedOut
The driver’s logged-out reason, cut to its first line and LOGIN_REASON_MAX_CHARS.
NotChecked
Nothing could tell: the driver’s unavailable or unknown reason, the probe’s reason
when the login command could not be run or did not answer, or the driver’s failure in
read-login. Cut like HarnessLogin::LoggedOut’s.
Trait Implementations§
Source§impl Debug for HarnessLogin
impl Debug for HarnessLogin
impl Eq for HarnessLogin
Source§impl PartialEq for HarnessLogin
impl PartialEq for HarnessLogin
impl StructuralPartialEq for HarnessLogin
Auto Trait Implementations§
impl Forget for HarnessLogin
impl Freeze for HarnessLogin
impl Move for HarnessLogin
impl RefUnwindSafe for HarnessLogin
impl Send for HarnessLogin
impl Sync for HarnessLogin
impl Unpin for HarnessLogin
impl UnsafeUnpin for HarnessLogin
impl UnwindSafe for HarnessLogin
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more