Struct rustdds::ros2::builtin_datatypes::NodeInfo
source · pub struct NodeInfo { /* private fields */ }
👎Deprecated since 0.8.5: Use crate ros2-client instead.
Expand description
Information about the node in ROS2 network
Implementations§
source§impl NodeInfo
impl NodeInfo
pub fn new(name: String, namespace: String) -> Self
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn namespace(&self) -> &str
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn name(&self) -> &str
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn get_reader_gid(&self) -> Vec<Gid>
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn get_writer_gid(&self) -> Vec<Gid>
👎Deprecated since 0.8.5: Use crate ros2-client instead.
sourcepub fn get_full_name(&self) -> String
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn get_full_name(&self) -> String
Full name of the node namespace + name eg. /some_node
pub fn add_writer(&mut self, gid: Gid)
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn add_reader(&mut self, gid: Gid)
👎Deprecated since 0.8.5: Use crate ros2-client instead.
Trait Implementations§
source§impl<'de> Deserialize<'de> for NodeInfo
impl<'de> Deserialize<'de> for NodeInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for NodeInfo
impl PartialEq for NodeInfo
impl Eq for NodeInfo
impl StructuralPartialEq for NodeInfo
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnwindSafe for NodeInfo
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