Crate roslibrust_common

Source
Expand description

§roslibrust_common

This crate provides common types and traits used throughout the roslibrust ecosystem.

Re-exports§

pub use traits::*;

Modules§

md5sum
Contains functions for calculating md5sums of message definitions These functions are needed both in roslibrust_ros1 and roslibrust_codegen so they’re in this crate
traits
Contains the generic traits represent a pubsub system and service system These traits will be implemented for specific backends to provides access to “ROS Like” functionality

Structs§

ShapeShifter
A generic message type used by some implementations to provide a generic subscriber / publisher without serialization

Enums§

Error
The central error type used throughout roslibrust.

Traits§

RosMessageType
Fundamental traits for message types this crate works with This trait will be satisfied for any types generated with this crate’s message_gen functionality
RosServiceType
Represents a ROS service type definition corresponding to a .srv file.
ServiceFn
This trait describes a function which can validly act as a ROS service server with roslibrust. We’re really just using this as a trait alias as the full definition is overly verbose and trait aliases are unstable.

Type Aliases§

Result
Generic result type used throughout roslibrust.