[−][src]Struct rustdds::ros2::RosParticipant
RosParticipant sends and receives other participants information in ROS2 network
Implementations
impl<'a> RosParticipant<'a>
[src]
pub fn new(ros_context: &'a RosContext) -> Result<RosParticipant<'a>, Error>
[src]
pub fn get_ros_participant_info(&self) -> ROSParticipantInfo
[src]
Gets our current participant info we have sent to ROS2 network
pub fn add_node_info(&mut self, node_info: NodeInfo)
[src]
Adds new NodeInfo and updates our RosParticipantInfo to ROS2 network
pub fn remove_node_info(&mut self, node_info: &NodeInfo)
[src]
Removes NodeInfo and updates our RosParticipantInfo to ROS2 network
pub fn clear(&mut self)
[src]
Clears all nodes and updates our RosParticipantInfo to ROS2 network
pub fn handle_node_read(&mut self) -> Vec<ROSParticipantInfo>
[src]
Fetches all unread ROSParticipantInfos we have received
Trait Implementations
impl<'_> Evented for RosParticipant<'_>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RosParticipant<'a>
impl<'a> !Send for RosParticipant<'a>
impl<'a> !Sync for RosParticipant<'a>
impl<'a> Unpin for RosParticipant<'a>
impl<'a> !UnwindSafe for RosParticipant<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,