[][src]Struct rustdds::ros2::RosParticipant

pub struct RosParticipant<'a> { /* fields omitted */ }

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,