[−][src]Struct rustdds::ros2::RosContext
Is a helper for keeping lifetimes in check. In addition, RosContext holds DDS Publisher and Subscriber for creating readers and writers. There has to be a RosContext for each thread and they cannot be shared between threads.
Implementations
impl RosContext[src]
pub fn new(
domain_participant: DomainParticipant,
is_ros_participant_thread: bool
) -> Result<RosContext, Error>[src]
domain_participant: DomainParticipant,
is_ros_participant_thread: bool
) -> Result<RosContext, Error>
Arguments
domain_participant- DDS DomainParticipantis_ros_participant_thread- Information if this is the thread where our RosParticipant has been defined.
Auto Trait Implementations
impl !RefUnwindSafe for RosContext
impl !Send for RosContext
impl !Sync for RosContext
impl Unpin for RosContext
impl !UnwindSafe for RosContext
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>,