pub struct Core { /* private fields */ }Implementations§
Source§impl Core
impl Core
Sourcepub fn open(
options: OpenOptions,
tx: Sender<Input>,
sink: EventSink,
) -> Result<Core, String>
pub fn open( options: OpenOptions, tx: Sender<Input>, sink: EventSink, ) -> Result<Core, String>
Open options.metadata’s session with its lane. tx is the actor’s own input (runs report through it).
pub fn model(&self) -> &Model
pub fn thinking_level(&self) -> &str
pub fn session(&self) -> SharedSession
pub fn runtime(&self) -> &Runtime
Sourcepub fn snapshot(&self) -> Value
pub fn snapshot(&self) -> Value
The lane snapshot transcript state starts from (LaneSnapshot): the branch’s entries, configuration, usage.
Sourcepub fn close_for_successor(&mut self)
pub fn close_for_successor(&mut self)
As Core::close when a successor worker takes the session over: shell jobs keep running for it.
Auto Trait Implementations§
impl !Freeze for Core
impl !RefUnwindSafe for Core
impl !Sync for Core
impl !UnwindSafe for Core
impl Forget for Core
impl Move for Core
impl Send for Core
impl Unpin for Core
impl UnsafeUnpin for Core
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