pub enum IfBusy {
Queue,
Steer,
Replace,
}Expand description
Disposition when a turn is already running. The wire default is queue: an
SDK caller who has not looked at session state should not silently mutate an
in-flight turn.
Variants§
Queue
Deliver the input as the next turn after the current one finishes.
Steer
Inject the input into the running turn.
Replace
Interrupt the running turn and start a fresh turn with this input.
Trait Implementations§
impl Copy for IfBusy
Source§impl<'de> Deserialize<'de> for IfBusy
impl<'de> Deserialize<'de> for IfBusy
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 IfBusy
impl StructuralPartialEq for IfBusy
Auto Trait Implementations§
impl Forget for IfBusy
impl Freeze for IfBusy
impl Move for IfBusy
impl RefUnwindSafe for IfBusy
impl Send for IfBusy
impl Sync for IfBusy
impl Unpin for IfBusy
impl UnsafeUnpin for IfBusy
impl UnwindSafe for IfBusy
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