pub enum ChildProbeEnd {
Answered {
busy: bool,
},
NotStarted,
Lost,
TimedOut,
NoAnswer,
}Expand description
How a probe that runs in a child process ended.
Variants§
Answered
The child answered; busy when the answer says the device was busy.
NotStarted
The child did not start.
Lost
Waiting for the child failed.
TimedOut
The child did not finish in time and was killed.
NoAnswer
The child crashed or exited without an answer.
Implementations§
Trait Implementations§
Source§impl Clone for ChildProbeEnd
impl Clone for ChildProbeEnd
impl Copy for ChildProbeEnd
Source§impl Debug for ChildProbeEnd
impl Debug for ChildProbeEnd
impl Eq for ChildProbeEnd
Source§impl PartialEq for ChildProbeEnd
impl PartialEq for ChildProbeEnd
impl StructuralPartialEq for ChildProbeEnd
Auto Trait Implementations§
impl Forget for ChildProbeEnd
impl Freeze for ChildProbeEnd
impl Move for ChildProbeEnd
impl RefUnwindSafe for ChildProbeEnd
impl Send for ChildProbeEnd
impl Sync for ChildProbeEnd
impl Unpin for ChildProbeEnd
impl UnsafeUnpin for ChildProbeEnd
impl UnwindSafe for ChildProbeEnd
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<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