pub struct MessagePushed {
pub record: MessageRecord,
}Expand description
Typed event published on the editor’s event bus whenever
set_message runs. Carries the appended record (cloned
from the ring). Subscribers see every echo in arrival
order; the renderer’s *messages* buffer live tail, the
plugin host’s WIT bridge, future telemetry hooks, etc.
are all peer subscribers with no privileged path.
Fields§
§record: MessageRecordTrait Implementations§
Source§impl Clone for MessagePushed
impl Clone for MessagePushed
Source§fn clone(&self) -> MessagePushed
fn clone(&self) -> MessagePushed
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 Debug for MessagePushed
impl Debug for MessagePushed
Source§impl Event for MessagePushed
impl Event for MessagePushed
Source§fn event_type_id(&self) -> EventTypeId
fn event_type_id(&self) -> EventTypeId
The type-id under which this event is registered.
Implementors typically delegate to a
static to avoid
re-allocating the metadata on every call. The macro
register_event! generates this for you.Auto Trait Implementations§
impl Freeze for MessagePushed
impl RefUnwindSafe for MessagePushed
impl Send for MessagePushed
impl Sync for MessagePushed
impl Unpin for MessagePushed
impl UnsafeUnpin for MessagePushed
impl UnwindSafe for MessagePushed
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