pub struct ConnectionGraph { /* private fields */ }Available on crate features
remote-access or websocket only.Expand description
A connection graph describing a topology of subscribers, publishers, topics, and services.
Connection graph data can be published with publish_connection_graph, and visualized in the Foxglove Topic Graph panel.
Implementations§
Source§impl ConnectionGraph
impl ConnectionGraph
Sourcepub fn set_published_topic(
&mut self,
topic: impl Into<String>,
publisher_ids: impl IntoIterator<Item = impl Into<String>>,
)
pub fn set_published_topic( &mut self, topic: impl Into<String>, publisher_ids: impl IntoIterator<Item = impl Into<String>>, )
Set a published topic and its associated publisher ids.
Overwrites any existing topic with the same name.
Sourcepub fn set_subscribed_topic(
&mut self,
topic: impl Into<String>,
subscriber_ids: impl IntoIterator<Item = impl Into<String>>,
)
pub fn set_subscribed_topic( &mut self, topic: impl Into<String>, subscriber_ids: impl IntoIterator<Item = impl Into<String>>, )
Set a subscribed topic and its associated subscriber ids.
Overwrites any existing topic with the same name.
Sourcepub fn set_advertised_service(
&mut self,
service: impl Into<String>,
provider_ids: impl IntoIterator<Item = impl Into<String>>,
)
pub fn set_advertised_service( &mut self, service: impl Into<String>, provider_ids: impl IntoIterator<Item = impl Into<String>>, )
Set an advertised service and its associated provider ids.
Overwrites any existing service with the same name.
Trait Implementations§
Source§impl Clone for ConnectionGraph
impl Clone for ConnectionGraph
Source§fn clone(&self) -> ConnectionGraph
fn clone(&self) -> ConnectionGraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionGraph
impl Debug for ConnectionGraph
Source§impl Default for ConnectionGraph
impl Default for ConnectionGraph
Source§fn default() -> ConnectionGraph
fn default() -> ConnectionGraph
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConnectionGraph
impl RefUnwindSafe for ConnectionGraph
impl Send for ConnectionGraph
impl Sync for ConnectionGraph
impl Unpin for ConnectionGraph
impl UnsafeUnpin for ConnectionGraph
impl UnwindSafe for ConnectionGraph
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> SaturatingInto<T> for Uwhere
T: SaturatingFrom<U>,
impl<T, U> SaturatingInto<T> for Uwhere
T: SaturatingFrom<U>,
Source§fn saturating_into(self) -> T
fn saturating_into(self) -> T
Performs the conversion.