pub struct BusMessage {
pub element_id: Option<ElementId>,
pub event: BusEvent,
}Expand description
One bus event together with the stable graph identity of the element
that posted it. Drivers and standalone elements that do not belong to a
PipelineGraph use None.
Fields§
§element_id: Option<ElementId>Stable graph identity of the posting element, or None for a driver or
standalone element outside a pipeline graph.
event: BusEventEvent payload posted by the element.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BusMessage
impl !UnwindSafe for BusMessage
impl Freeze for BusMessage
impl Send for BusMessage
impl Sync for BusMessage
impl Unpin for BusMessage
impl UnsafeUnpin for BusMessage
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