pub enum SessionEventKind {
ReadyForContinue,
SlotNotification(u64),
Error(BacktestError),
Success,
Completed {
summary: Option<SessionSummary>,
},
Status {
status: BacktestStatus,
},
}Variants§
ReadyForContinue
SlotNotification(u64)
Error(BacktestError)
Success
Completed
Fields
§
summary: Option<SessionSummary>Status
Fields
§
status: BacktestStatusImplementations§
Source§impl SessionEventKind
impl SessionEventKind
pub fn is_terminal(&self) -> bool
Trait Implementations§
Source§impl Clone for SessionEventKind
impl Clone for SessionEventKind
Source§fn clone(&self) -> SessionEventKind
fn clone(&self) -> SessionEventKind
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionEventKind
impl Debug for SessionEventKind
Source§impl<'de> Deserialize<'de> for SessionEventKind
impl<'de> Deserialize<'de> for SessionEventKind
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
Auto Trait Implementations§
impl Freeze for SessionEventKind
impl RefUnwindSafe for SessionEventKind
impl Send for SessionEventKind
impl Sync for SessionEventKind
impl Unpin for SessionEventKind
impl UnsafeUnpin for SessionEventKind
impl UnwindSafe for SessionEventKind
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