Struct stepflow::Session [−][src]
Implementations
impl Session
[src]
pub fn new(id: SessionId) -> Session
[src]
pub fn with_capacity(
id: SessionId,
var_capacity: usize,
step_capacity: usize,
action_capacity: usize
) -> Session
[src]
id: SessionId,
var_capacity: usize,
step_capacity: usize,
action_capacity: usize
) -> Session
pub fn id(&self) -> &SessionId
[src]
pub fn state_data(&self) -> &StateData
[src]
pub fn current_step(&self) -> Result<&StepId, Error>
[src]
pub fn step_store(&self) -> &ObjectStore<Step, StepId>
[src]
pub fn step_store_mut(&mut self) -> &mut ObjectStore<Step, StepId>
[src]
pub fn push_root_substep(&mut self, step_id: StepId)
[src]
pub fn action_store(&self) -> &ActionObjectStore
[src]
pub fn varstore(
&self
) -> &ObjectStore<Box<dyn Var + 'static + Send + Sync, Global>, VarId>
[src]
&self
) -> &ObjectStore<Box<dyn Var + 'static + Send + Sync, Global>, VarId>
pub fn varstore_mut(
&mut self
) -> &mut ObjectStore<Box<dyn Var + 'static + Send + Sync, Global>, VarId>
[src]
&mut self
) -> &mut ObjectStore<Box<dyn Var + 'static + Send + Sync, Global>, VarId>
pub fn advance(
&mut self,
step_output: Option<(&StepId, StateData)>
) -> Result<AdvanceBlockedOn, Error>
[src]
&mut self,
step_output: Option<(&StepId, StateData)>
) -> Result<AdvanceBlockedOn, Error>
pub fn set_action_for_step(
&mut self,
action_id: ActionId,
step_id: Option<&StepId>
) -> Result<(), Error>
[src]
&mut self,
action_id: ActionId,
step_id: Option<&StepId>
) -> Result<(), Error>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Session
[src]
impl Send for Session
[src]
impl Sync for Session
[src]
impl Unpin for Session
[src]
impl !UnwindSafe for Session
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,