pub struct Route {
pub from: Vec<AgentName>,
pub to: Vec<AgentName>,
pub mode: Mode,
pub join: Option<Join>,
pub timeout_sec: Option<u64>,
}Expand description
A directed edge, or set of edges, in the route map.
Fields§
§from: Vec<AgentName>Sending agents. Accepts a bare string or a list.
to: Vec<AgentName>Receiving agents. Accepts a bare string or a list.
mode: ModeDelivery semantics.
join: Option<Join>Rendezvous condition. When set, flights are parked until it is met.
timeout_sec: Option<u64>Backstop for an unreachable barrier.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Route
impl<'de> Deserialize<'de> for Route
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
Auto Trait Implementations§
impl Freeze for Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
impl UnwindSafe for Route
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