Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

Launch

Enum Launch 

Source
pub enum Launch<'table, 'data, Load, Spawn, State> {
    Playthrough {
        segment: &'table Segment<'data, Load, Spawn, State>,
        state: &'table State,
        provenance: &'table Provenance<'data>,
    },
    Diagnostic(&'table Segment<'data, Load, Spawn, State>),
}
Expand description

Validated launch, borrowing the table without copying a save payload.

Variants§

§

Playthrough

Complete captured state, available only with valid evidence metadata.

Fields

§segment: &'table Segment<'data, Load, Spawn, State>

Matching table row.

§state: &'table State

Exact captured state borrowed from that row.

§provenance: &'table Provenance<'data>

Capture provenance borrowed from that row.

§

Diagnostic(&'table Segment<'data, Load, Spawn, State>)

Explicit diagnostic reset, with no earned state supplied.

Trait Implementations§

Source§

impl<'table, 'data, Load: Debug, Spawn: Debug, State: Debug> Debug for Launch<'table, 'data, Load, Spawn, State>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'table, 'data, Load: PartialEq, Spawn: PartialEq, State: PartialEq> PartialEq for Launch<'table, 'data, Load, Spawn, State>

Source§

fn eq(&self, other: &Launch<'table, 'data, Load, Spawn, State>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'table, 'data, Load: Eq, Spawn: Eq, State: Eq> Eq for Launch<'table, 'data, Load, Spawn, State>

Source§

impl<'table, 'data, Load, Spawn, State> StructuralPartialEq for Launch<'table, 'data, Load, Spawn, State>

Auto Trait Implementations§

§

impl<'table, 'data, Load, Spawn, State> Freeze for Launch<'table, 'data, Load, Spawn, State>

§

impl<'table, 'data, Load, Spawn, State> RefUnwindSafe for Launch<'table, 'data, Load, Spawn, State>
where State: RefUnwindSafe, Load: RefUnwindSafe, Spawn: RefUnwindSafe,

§

impl<'table, 'data, Load, Spawn, State> Send for Launch<'table, 'data, Load, Spawn, State>
where State: Sync, Load: Sync, Spawn: Sync,

§

impl<'table, 'data, Load, Spawn, State> Sync for Launch<'table, 'data, Load, Spawn, State>
where State: Sync, Load: Sync, Spawn: Sync,

§

impl<'table, 'data, Load, Spawn, State> Unpin for Launch<'table, 'data, Load, Spawn, State>

§

impl<'table, 'data, Load, Spawn, State> UnsafeUnpin for Launch<'table, 'data, Load, Spawn, State>

§

impl<'table, 'data, Load, Spawn, State> UnwindSafe for Launch<'table, 'data, Load, Spawn, State>
where State: RefUnwindSafe, Load: RefUnwindSafe, Spawn: RefUnwindSafe,

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.