#[non_exhaustive]pub enum Startup {
Live,
Exited,
TimedOut,
}Expand description
How DaemonChild::wait_until_live ended.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Live
A probe succeeded.
Exited
The daemon exited, and a probe made after its exit failed too. A daemon that lost the bind election to another one exits as well, and the probe after its exit then finds the winner, so this means no daemon answered.
TimedOut
The deadline passed with the daemon still running and no probe successful.
Trait Implementations§
impl Copy for Startup
impl Eq for Startup
impl StructuralPartialEq for Startup
Auto Trait Implementations§
impl Freeze for Startup
impl RefUnwindSafe for Startup
impl Send for Startup
impl Sync for Startup
impl Unpin for Startup
impl UnsafeUnpin for Startup
impl UnwindSafe for Startup
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