pub struct OutboundRoute {
pub topic: String,
pub source: Box<dyn SerializedSource>,
pub config: Vec<(String, String)>,
}Expand description
One outbound route returned by AimDb::collect_outbound_routes
Fields§
§topic: StringDefault topic/destination from the URL path; used when the source yields no per-value destination.
source: Box<dyn SerializedSource>Fused wire-level source: its readers yield destination + serialized
payload directly (subscribe → recv → resolve topic → serialize, all
typed inside — no Box<dyn Any> per message).
config: Vec<(String, String)>Configuration options from the URL query
Auto Trait Implementations§
impl !RefUnwindSafe for OutboundRoute
impl !UnwindSafe for OutboundRoute
impl Freeze for OutboundRoute
impl Send for OutboundRoute
impl Sync for OutboundRoute
impl Unpin for OutboundRoute
impl UnsafeUnpin for OutboundRoute
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