embedded_bacnet/application_protocol/services/who_is.rs
1use crate::{
2 application_protocol::unconfirmed::UnconfirmedServiceChoice,
3 common::io::{Reader, Writer},
4};
5
6#[derive(Debug, Clone)]
7#[cfg_attr(feature = "defmt", derive(defmt::Format))]
8pub struct WhoIs {}
9
10impl WhoIs {
11 pub fn encode(&self, writer: &mut Writer) {
12 writer.push(UnconfirmedServiceChoice::WhoIs as u8)
13 }
14
15 pub fn decode(_reader: &mut Reader, _buf: &[u8]) -> Self {
16 Self {}
17 }
18}