pub struct SourceMsg {
pub id: MsgId,
pub msg: Msg,
pub ts: usize,
pub delivered: usize,
}Expand description
Data structure for representing a message as it moves through a topology
Fields§
§id: MsgIdMsgId as Vec
msg: MsgMsg as Vec
ts: usizeSource msg read timestamp. Message timeouts are computed from this field value
delivered: usizeHow many times has this message been delivered?
Used for tracking internal retries if topology is
configured with TopologyFailurePolicy::Retry(count)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceMsg
impl RefUnwindSafe for SourceMsg
impl Send for SourceMsg
impl Sync for SourceMsg
impl Unpin for SourceMsg
impl UnwindSafe for SourceMsg
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