#[non_exhaustive]pub struct SpawnWait {
pub live: bool,
pub spawn_error: Option<Error>,
}Expand description
Outcome of spawn_and_wait.
live is independent of spawn_error: another client may have won the
bind after this spawn failed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.live: boolThe caller’s probe succeeded before the budget elapsed.
spawn_error: Option<Error>Why this process could not exec the peer. None if exec started.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SpawnWait
impl !UnwindSafe for SpawnWait
impl Freeze for SpawnWait
impl Send for SpawnWait
impl Sync for SpawnWait
impl Unpin for SpawnWait
impl UnsafeUnpin for SpawnWait
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