pub enum LiveSessionCommand {
Snapshot,
Step,
Run {
boundary_limit: usize,
},
Call {
function: u16,
arguments: Vec<Value>,
},
Pause,
Resume {
settlement: Option<LiveSettlement>,
},
Resolve {
value: Value,
},
Reject {
error: Value,
},
Update {
source: LiveSource,
policy: LiveReplacementPolicy,
},
Reset,
Cancel,
Dispose,
}Variants§
Snapshot
Step
Run
Call
Pause
Resume
Fields
§
settlement: Option<LiveSettlement>Resolve
Reject
Update
Reset
Cancel
Dispose
Implementations§
Source§impl LiveSessionCommand
impl LiveSessionCommand
pub const fn operation(&self) -> LiveSessionOperation
Trait Implementations§
Source§impl Clone for LiveSessionCommand
impl Clone for LiveSessionCommand
Source§fn clone(&self) -> LiveSessionCommand
fn clone(&self) -> LiveSessionCommand
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 LiveSessionCommand
impl Debug for LiveSessionCommand
Source§impl PartialEq for LiveSessionCommand
impl PartialEq for LiveSessionCommand
impl StructuralPartialEq for LiveSessionCommand
Auto Trait Implementations§
impl Freeze for LiveSessionCommand
impl RefUnwindSafe for LiveSessionCommand
impl Send for LiveSessionCommand
impl Sync for LiveSessionCommand
impl Unpin for LiveSessionCommand
impl UnsafeUnpin for LiveSessionCommand
impl UnwindSafe for LiveSessionCommand
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more