pub struct Cnx {
pub src: String,
pub dst: String,
pub msg: String,
pub missions: Option<Vec<String>>,
pub src_channel: Option<String>,
pub dst_channel: Option<String>,
}Expand description
This represents a connection between 2 tasks (nodes) in the configuration graph.
Fields§
§src: StringSource node id.
dst: StringDestination node id.
msg: StringMessage type exchanged between src and dst.
missions: Option<Vec<String>>Restrict this connection for this list of missions.
src_channel: Option<String>Optional channel id when the source endpoint is a bridge.
dst_channel: Option<String>Optional channel id when the destination endpoint is a bridge.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cnx
impl RefUnwindSafe for Cnx
impl Send for Cnx
impl Sync for Cnx
impl Unpin for Cnx
impl UnwindSafe for Cnx
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