pub struct ModeRuntimeContext<'a> { /* private fields */ }Expand description
Narrow wrapper around LashRuntime that mode plugins use when
configuring the runtime from a fresh SessionCreateRequest.
Exposes only the runtime-level capabilities modes need to set (termination contract, etc.) so plugins don’t reach into unrelated runtime internals.
Implementations§
Source§impl<'a> ModeRuntimeContext<'a>
impl<'a> ModeRuntimeContext<'a>
pub fn set_mode_turn_options(&mut self, options: ModeTurnOptions)
Auto Trait Implementations§
impl<'a> Freeze for ModeRuntimeContext<'a>
impl<'a> !RefUnwindSafe for ModeRuntimeContext<'a>
impl<'a> Send for ModeRuntimeContext<'a>
impl<'a> Sync for ModeRuntimeContext<'a>
impl<'a> Unpin for ModeRuntimeContext<'a>
impl<'a> UnsafeUnpin for ModeRuntimeContext<'a>
impl<'a> !UnwindSafe for ModeRuntimeContext<'a>
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