pub enum Telegram<'ud> {
SingleCharacter,
ShortFrame {
control: Control,
address: Address,
},
ControlFrame {
control: Control,
address: Address,
control_information: u8,
},
LongFrame {
control: Control,
address: Address,
control_information: u8,
user_data: &'ud [u8],
},
}
Expand description
An M-Bus telegram.
Variants§
Implementations§
Trait Implementations§
impl<'ud> StructuralPartialEq for Telegram<'ud>
Auto Trait Implementations§
impl<'ud> Freeze for Telegram<'ud>
impl<'ud> RefUnwindSafe for Telegram<'ud>
impl<'ud> Send for Telegram<'ud>
impl<'ud> Sync for Telegram<'ud>
impl<'ud> Unpin for Telegram<'ud>
impl<'ud> UnwindSafe for Telegram<'ud>
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