pub enum SessionExit {
Completed,
Aborted,
Failed(String),
}Expand description
Why a session ended.
Variants§
Completed
Process exited normally after a result message.
Aborted
Aborted by the engine (interrupt, turn budget, shutdown).
Failed(String)
Process died or emitted an error result.
Trait Implementations§
Source§impl Clone for SessionExit
impl Clone for SessionExit
Source§fn clone(&self) -> SessionExit
fn clone(&self) -> SessionExit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionExit
impl Debug for SessionExit
Source§impl<'de> Deserialize<'de> for SessionExit
impl<'de> Deserialize<'de> for SessionExit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionExit
Source§impl PartialEq for SessionExit
impl PartialEq for SessionExit
Source§impl Serialize for SessionExit
impl Serialize for SessionExit
impl StructuralPartialEq for SessionExit
Auto Trait Implementations§
impl Freeze for SessionExit
impl RefUnwindSafe for SessionExit
impl Send for SessionExit
impl Sync for SessionExit
impl Unpin for SessionExit
impl UnsafeUnpin for SessionExit
impl UnwindSafe for SessionExit
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