pub struct RuntimeConnection { /* private fields */ }Expand description
Runtime connection handles communication between CLI and running app
Implementations§
Source§impl RuntimeConnection
impl RuntimeConnection
Sourcepub fn new() -> (Self, Receiver<RuntimeMessage>)
pub fn new() -> (Self, Receiver<RuntimeMessage>)
Create a new RuntimeConnection
Sourcepub async fn send(&self, msg: RuntimeMessage)
pub async fn send(&self, msg: RuntimeMessage)
Send a message to the runtime
Auto Trait Implementations§
impl Freeze for RuntimeConnection
impl RefUnwindSafe for RuntimeConnection
impl Send for RuntimeConnection
impl Sync for RuntimeConnection
impl Unpin for RuntimeConnection
impl UnsafeUnpin for RuntimeConnection
impl UnwindSafe for RuntimeConnection
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