pub struct Ros2MsgDecoder;Expand description
MessageDecoder for ROS 2 .msg schemas with CDR-encoded messages.
Implementations§
Trait Implementations§
Source§impl Default for Ros2MsgDecoder
impl Default for Ros2MsgDecoder
Source§impl MessageDecoder for Ros2MsgDecoder
impl MessageDecoder for Ros2MsgDecoder
Source§fn encoding_key(&self) -> EncodingKey
fn encoding_key(&self) -> EncodingKey
Returns the encoding pair this decoder handles.
Source§fn build_topic_decoder(
&self,
schema_name: &str,
schema_data: &[u8],
) -> Result<Box<dyn TopicDecoder>, DecoderError>
fn build_topic_decoder( &self, schema_name: &str, schema_data: &[u8], ) -> Result<Box<dyn TopicDecoder>, DecoderError>
Build a topic-local decoder for the given MCAP schema. Read more
Auto Trait Implementations§
impl Freeze for Ros2MsgDecoder
impl RefUnwindSafe for Ros2MsgDecoder
impl Send for Ros2MsgDecoder
impl Sync for Ros2MsgDecoder
impl Unpin for Ros2MsgDecoder
impl UnsafeUnpin for Ros2MsgDecoder
impl UnwindSafe for Ros2MsgDecoder
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