pub trait Datagram: Debug {
// Provided method
fn option(&self) -> DatagramOption { ... }
}Expand description
Datagram represents the data sent to the device.
Provided Methods§
Sourcefn option(&self) -> DatagramOption
fn option(&self) -> DatagramOption
Returns the option of the datagram.