pub enum Ros2Direction {
Subscribe,
Publish,
}Expand description
Direction of ROS2 bridge communication.
Variants§
Subscribe
Subscribe: receive from ROS2, forward to dora outputs.
Publish
Publish: receive from dora inputs, publish to ROS2.
Trait Implementations§
Source§impl Clone for Ros2Direction
impl Clone for Ros2Direction
Source§fn clone(&self) -> Ros2Direction
fn clone(&self) -> Ros2Direction
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 Ros2Direction
impl Debug for Ros2Direction
Source§impl Default for Ros2Direction
impl Default for Ros2Direction
Source§fn default() -> Ros2Direction
fn default() -> Ros2Direction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Ros2Direction
impl<'de> Deserialize<'de> for Ros2Direction
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 JsonSchema for Ros2Direction
impl JsonSchema for Ros2Direction
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for Ros2Direction
impl RefUnwindSafe for Ros2Direction
impl Send for Ros2Direction
impl Sync for Ros2Direction
impl Unpin for Ros2Direction
impl UnsafeUnpin for Ros2Direction
impl UnwindSafe for Ros2Direction
Blanket Implementations§
impl<T> Allocation for T
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