pub struct LiveTurnInputs { /* private fields */ }Expand description
Per-turn, in-process side channel of typed plugin inputs.
This is an Any-keyed map of live Rust values handed to plugins for a
single turn. It is deliberately not serializable: the values never
survive a process boundary, so durable effect-host runs explicitly reject a
turn that carries any live inputs (see
LiveTurnInputs::durable_effect_rejection). Durable callers must instead
encode replayable data in
protocol_turn_options or persisted plugin state.
Implementations§
Source§impl LiveTurnInputs
impl LiveTurnInputs
pub fn plugin_ids(&self) -> Vec<&'static str>
Trait Implementations§
Source§impl Clone for LiveTurnInputs
impl Clone for LiveTurnInputs
Source§fn clone(&self) -> LiveTurnInputs
fn clone(&self) -> LiveTurnInputs
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 Default for LiveTurnInputs
impl Default for LiveTurnInputs
Source§fn default() -> LiveTurnInputs
fn default() -> LiveTurnInputs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for LiveTurnInputs
impl !UnwindSafe for LiveTurnInputs
impl Freeze for LiveTurnInputs
impl Send for LiveTurnInputs
impl Sync for LiveTurnInputs
impl Unpin for LiveTurnInputs
impl UnsafeUnpin for LiveTurnInputs
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