pub enum Message {
CommandData {
command: Command,
data_words: Vec<Word>,
},
Status(StatusWord),
CommandOnly(Command),
}Expand description
A complete message in MIL-STD-1553B protocol
Variants§
CommandData
Command followed by optional data words
Status(StatusWord)
Status word response
CommandOnly(Command)
Just a command word (for transmit commands)
Implementations§
Trait Implementations§
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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