1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

//! Definitions for the mesh entrypoint.
//!
//! These are here instead of in `hvlite_entry` to support launching hvlite from
//! a foreign mesh host. The only supported use case is launching hvlite from
//! petri for testing.

use mesh::MeshPayload;
use mesh_worker::WorkerHostRunner;

/// The initial message to send when launching a mesh child process.
#[derive(MeshPayload)]
pub struct MeshHostParams {
    pub runner: WorkerHostRunner,
}