pub struct SteerInbox { /* private fields */ }Expand description
Mid-run steering inbox: ParentFrame::Message texts arriving while a run is
active. Executors that support in-band steering admit them at a safe point
(the engine’s round boundary); others may simply ignore the inbox.
Implementations§
Source§impl SteerInbox
impl SteerInbox
Sourcepub fn channel() -> (UnboundedSender<String>, Self)
pub fn channel() -> (UnboundedSender<String>, Self)
Create a sender + inbox pair (the transport holds the sender).
Sourcepub fn disconnected() -> Self
pub fn disconnected() -> Self
An already-closed inbox (for tests / executors that don’t steer).
Auto Trait Implementations§
impl Freeze for SteerInbox
impl RefUnwindSafe for SteerInbox
impl Send for SteerInbox
impl Sync for SteerInbox
impl Unpin for SteerInbox
impl UnsafeUnpin for SteerInbox
impl UnwindSafe for SteerInbox
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