pub enum RuntimeEventSender {
Channel(Sender<RuntimeEventEnvelope>),
Closed,
Direct {
generation: u64,
sender: RuntimeEventOutputSender,
},
}Expand description
Sender for typed runtime events produced by session threads. IPC sessions share a bounded connection writer lane; in-process sessions write directly to their own bounded output lane so one backpressured VM cannot stall or destroy unrelated VMs in a global dispatch thread.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeEventSender
impl Clone for RuntimeEventSender
Source§fn clone(&self) -> RuntimeEventSender
fn clone(&self) -> RuntimeEventSender
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 From<Sender<RuntimeEventEnvelope>> for RuntimeEventSender
impl From<Sender<RuntimeEventEnvelope>> for RuntimeEventSender
Source§fn from(sender: Sender<RuntimeEventEnvelope>) -> Self
fn from(sender: Sender<RuntimeEventEnvelope>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeEventSender
impl RefUnwindSafe for RuntimeEventSender
impl Send for RuntimeEventSender
impl Sync for RuntimeEventSender
impl Unpin for RuntimeEventSender
impl UnsafeUnpin for RuntimeEventSender
impl UnwindSafe for RuntimeEventSender
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