pub struct OutboundMessage<'a> {
pub route: &'a RouteInfo,
pub topic: &'a str,
pub payload: OutboundPayload<'a>,
pub metadata: WriteMetadata,
}Expand description
A message pulled from OutboundRoutes.
Fields§
§route: &'a RouteInfoThe route it came from.
topic: &'a strThe written topic, or the route’s default.
payload: OutboundPayload<'a>The serialized value.
metadata: WriteMetadataMetadata of the write the route serialized.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OutboundMessage<'a>
impl<'a> RefUnwindSafe for OutboundMessage<'a>
impl<'a> Send for OutboundMessage<'a>
impl<'a> Sync for OutboundMessage<'a>
impl<'a> Unpin for OutboundMessage<'a>
impl<'a> UnsafeUnpin for OutboundMessage<'a>
impl<'a> UnwindSafe for OutboundMessage<'a>
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