PingMessage

Trait PingMessage 

Source
pub trait PingMessage
where Self: Sized + SerializePayload,
{ // Required methods fn message_id(&self) -> u16; fn message_name(&self) -> &'static str; fn message_id_from_name(name: &str) -> Result<u16, String>; }

Required Methods§

Source

fn message_id(&self) -> u16

Source

fn message_name(&self) -> &'static str

Source

fn message_id_from_name(name: &str) -> Result<u16, String>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl PingMessage for bluerobotics_ping::bluebps::Messages

Source§

impl PingMessage for bluerobotics_ping::common::Messages

Source§

impl PingMessage for bluerobotics_ping::omniscan450::Messages

Source§

impl PingMessage for bluerobotics_ping::ping1d::Messages

Source§

impl PingMessage for bluerobotics_ping::ping360::Messages