pub struct EventFrame {
pub event: AgentEvent,
pub cursor: EventCursor,
pub archive_cursor: Option<ArchiveCursor>,
pub overflow: Option<EventOverflowNotice>,
}Expand description
Carries the event frame record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Fields§
§event: AgentEventEvent used by this record or request.
cursor: EventCursorCursor identifying a replay, export, or subscription position. Use it to resume without widening the original scope.
archive_cursor: Option<ArchiveCursor>Cursor identifying a replay, export, or subscription position. Use it to resume without widening the original scope.
overflow: Option<EventOverflowNotice>Overflow policy applied when a subscriber queue reaches capacity. It decides whether to drop, summarize, backpressure, or fail the subscriber.
Trait Implementations§
Source§impl Clone for EventFrame
impl Clone for EventFrame
Source§fn clone(&self) -> EventFrame
fn clone(&self) -> EventFrame
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 EventFrame
impl Debug for EventFrame
Source§impl<'de> Deserialize<'de> for EventFrame
impl<'de> Deserialize<'de> for EventFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EventFrame
impl PartialEq for EventFrame
Source§fn eq(&self, other: &EventFrame) -> bool
fn eq(&self, other: &EventFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventFrame
impl Serialize for EventFrame
impl Eq for EventFrame
impl StructuralPartialEq for EventFrame
Auto Trait Implementations§
impl Freeze for EventFrame
impl RefUnwindSafe for EventFrame
impl Send for EventFrame
impl Sync for EventFrame
impl Unpin for EventFrame
impl UnsafeUnpin for EventFrame
impl UnwindSafe for EventFrame
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