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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.