#[non_exhaustive]pub struct PreparedLaunch {
pub command: Command,
pub plan: LaunchPlan,
pub staged: Vec<PathBuf>,
pub replaced: Vec<PathBuf>,
pub notices: Vec<LaunchNotice>,
}Available on crate feature
io only.Expand description
A launch that is ready to spawn, from prepare_launch.
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.command: CommandThe process to spawn.
plan: LaunchPlanThe plan command was built from.
staged: Vec<PathBuf>The files this launch created in the game folder, which a client records so it can remove them later.
replaced: Vec<PathBuf>The files already in the game folder that this launch overwrote. One may be the client’s own copy from an earlier launch or the player’s own file, so a client removes one only if it recorded it from an earlier launch.
notices: Vec<LaunchNotice>What the user should be told, in the order it happened.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PreparedLaunch
impl !UnwindSafe for PreparedLaunch
impl Forget for PreparedLaunch
impl Freeze for PreparedLaunch
impl Move for PreparedLaunch
impl Send for PreparedLaunch
impl Sync for PreparedLaunch
impl Unpin for PreparedLaunch
impl UnsafeUnpin for PreparedLaunch
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