pub enum Session {
D2(Session2),
D3(Session3),
}Expand description
One opaque handle exposed to the caller, chosen once from ndm at
decode time.
Variants§
Implementations§
Source§impl Session
impl Session
pub fn advance(&mut self, step_budget: u32) -> StepOutcome
Sourcepub fn modal_results(&self) -> ModalResultsReport
pub fn modal_results(&self) -> ModalResultsReport
Every Modal stage finished so far (see ModalStageResult).
Sourcepub fn current_stage_id(&self) -> Option<&str>
pub fn current_stage_id(&self) -> Option<&str>
The AnalysisSequence stage id advance is currently in (or, once
done, the id of whichever stage stopped it) — for surfacing which
stage an error belongs to, so a failed run can be marked with the error’s
structured detail.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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<T, U> Imply<T> for U
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.