pub enum SessionOnMain {
Resident,
Copied(SessionTransfer),
Unavailable,
}Expand description
The history-run seam: SUBMIT a run, POLL for its completed reply, RESET the
delta baseline, plus a QUERY channel for per-object measurements (routed to the
runner so the warm registry answers them, never the cold main-side one). The
Inline impl runs everything synchronously; a later thread/worker impl defers
the work and surfaces the replies through the same poll idiom.
Where the main thread gets the assembly session of the run it applied
(HistoryRunner::session_for_main).
Variants§
Resident
The run executed on the main thread and its session is still the thread’s: nothing to do.
Copied(SessionTransfer)
An owned copy from the runner’s thread, to import.
Not available (busy, replaced, or a runner that cannot copy): replay.
Auto Trait Implementations§
impl !RefUnwindSafe for SessionOnMain
impl !Sync for SessionOnMain
impl Forget for SessionOnMain
impl Freeze for SessionOnMainwhere
*const u8 is !null: Freeze,
PhantomData<ConstraintEntry>: Freeze,
PhantomData<(String, u32)>: Freeze,
PhantomData<(String, FaceRef)>: Freeze,
PhantomData<(String, EdgeRef)>: Freeze,
PhantomData<(String, Vec<String>)>: Freeze,
PhantomData<(String, SketchProfile)>: Freeze,
PhantomData<(String, Frame)>: Freeze,
PhantomData<(String, Axis)>: Freeze,
PhantomData<(String, Vec<NurbsCurve>)>: Freeze,
PhantomData<(String, Vec<Option<String>>)>: Freeze,
PhantomData<(String, Vec<Option<Axis>>)>: Freeze,
PhantomData<(String, ScenePoint)>: Freeze,
PhantomData<(String, PortRecord)>: Freeze,
*const LeafNode<String, ComponentRecord> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, ComponentRecord)>>: Freeze,
*const LeafNode<String, ComponentNamespace> is !null: Freeze,
PhantomData<Box<(String, ComponentNamespace)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<(String, Vec<Preparation>)>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const LeafNode<String, bool> is !null: Freeze,
PhantomData<Box<(String, bool)>>: Freeze,
PhantomData<(u32, BrepSolid)>: Freeze,
impl Move for SessionOnMain
impl Send for SessionOnMainwhere
RawVecInner: Send,
RawTable<usize>: Send,
RawTable<(String, u32)>: Send,
RawTable<(String, FaceRef)>: Send,
RawTable<(String, EdgeRef)>: Send,
RawTable<(String, Vec<String>)>: Send,
RawTable<(String, SketchProfile)>: Send,
RawTable<(String, Frame)>: Send,
RawTable<(String, Axis)>: Send,
RawTable<(String, Vec<NurbsCurve>)>: Send,
RawTable<(String, Vec<Option<String>>)>: Send,
RawTable<(String, Vec<Option<Axis>>)>: Send,
RawTable<(String, ScenePoint)>: Send,
RawTable<(String, PortRecord)>: Send,
NodeRef<Owned, String, ComponentRecord, LeafOrInternal>: Send,
BoxRaw<(String, ComponentRecord)>: Send,
NodeRef<Owned, String, ComponentNamespace, LeafOrInternal>: Send,
BoxRaw<(String, ComponentNamespace)>: Send,
RawTable<(String, String)>: Send,
RawTable<(String, Vec<Preparation>)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, bool, LeafOrInternal>: Send,
BoxRaw<(String, bool)>: Send,
Cell<Option<(FaceSetIdentity, MassProperties)>>: Send,
Cell<bool>: Send,
BoxRaw<[(f64, Vec3)]>: Send,
BoxRaw<[SeedBlock]>: Send,
Arc<[f64]>: Send,
Arc<[Vec3]>: Send,
Arc<[CellBox]>: Send,
Arc<[CellTreeNode]>: Send,
Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: Send,
Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: Send,
Arc<SurfacePatches>: Send,
impl Unpin for SessionOnMainwhere
*const u8 is !null: Unpin,
*const LeafNode<String, ComponentRecord> is !null: Unpin,
Box<(String, ComponentRecord)>: Unpin,
*const LeafNode<String, ComponentNamespace> is !null: Unpin,
Box<(String, ComponentNamespace)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, bool> is !null: Unpin,
Box<(String, bool)>: Unpin,
Box<[(f64, Vec3)]>: Unpin,
Box<[SeedBlock]>: Unpin,
Arc<[f64]>: Unpin,
Arc<[Vec3]>: Unpin,
Arc<[CellBox]>: Unpin,
Arc<[CellTreeNode]>: Unpin,
Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: Unpin,
Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: Unpin,
Arc<SurfacePatches>: Unpin,
impl UnsafeUnpin for SessionOnMainwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ConstraintEntry>: UnsafeUnpin,
PhantomData<(String, u32)>: UnsafeUnpin,
PhantomData<(String, FaceRef)>: UnsafeUnpin,
PhantomData<(String, EdgeRef)>: UnsafeUnpin,
PhantomData<(String, Vec<String>)>: UnsafeUnpin,
PhantomData<(String, SketchProfile)>: UnsafeUnpin,
PhantomData<(String, Frame)>: UnsafeUnpin,
PhantomData<(String, Axis)>: UnsafeUnpin,
PhantomData<(String, Vec<NurbsCurve>)>: UnsafeUnpin,
PhantomData<(String, Vec<Option<String>>)>: UnsafeUnpin,
PhantomData<(String, Vec<Option<Axis>>)>: UnsafeUnpin,
PhantomData<(String, ScenePoint)>: UnsafeUnpin,
PhantomData<(String, PortRecord)>: UnsafeUnpin,
*const LeafNode<String, ComponentRecord> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, ComponentRecord)>>: UnsafeUnpin,
*const LeafNode<String, ComponentNamespace> is !null: UnsafeUnpin,
PhantomData<Box<(String, ComponentNamespace)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<(String, Vec<Preparation>)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const LeafNode<String, bool> is !null: UnsafeUnpin,
PhantomData<Box<(String, bool)>>: UnsafeUnpin,
PhantomData<(u32, BrepSolid)>: UnsafeUnpin,
impl UnwindSafe for SessionOnMainwhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
HashMap<String, u32>: UnwindSafe,
HashMap<String, FaceRef>: UnwindSafe,
HashMap<String, EdgeRef>: UnwindSafe,
HashMap<String, Vec<String>>: UnwindSafe,
HashMap<String, SketchProfile>: UnwindSafe,
HashMap<String, Frame>: UnwindSafe,
HashMap<String, Axis>: UnwindSafe,
HashMap<String, Vec<NurbsCurve>>: UnwindSafe,
HashMap<String, Vec<Option<String>>>: UnwindSafe,
HashMap<String, Vec<Option<Axis>>>: UnwindSafe,
HashMap<String, ScenePoint>: UnwindSafe,
HashMap<String, PortRecord>: UnwindSafe,
BTreeMap<String, ComponentRecord>: UnwindSafe,
BTreeMap<String, ComponentNamespace>: UnwindSafe,
HashMap<String, String>: UnwindSafe,
HashMap<String, Vec<Preparation>>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, bool>: UnwindSafe,
BoxRaw<[(f64, Vec3)]>: UnwindSafe,
BoxRaw<[SeedBlock]>: UnwindSafe,
Arc<[f64]>: UnwindSafe,
Arc<[Vec3]>: UnwindSafe,
Arc<[CellBox]>: UnwindSafe,
Arc<[CellTreeNode]>: UnwindSafe,
Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: UnwindSafe,
Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: UnwindSafe,
Arc<SurfacePatches>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.