Struct sacn::packet::DataPacketFramingLayer
[−]
[src]
pub struct DataPacketFramingLayer<'a> { pub source_name: &'a str, pub priority: u8, pub synchronization_address: u16, pub sequence_number: u8, pub preview_data: bool, pub stream_terminated: bool, pub force_synchronization: bool, pub universe: u16, pub data: DataPacketDmpLayer<'a>, }
Framing layer PDU for sACN data packets.
Fields
source_name: &'a str
The name of the source.
priority: u8
Priority of this data packet.
synchronization_address: u16
Synchronization adress.
sequence_number: u8
The sequence number of this packet.
preview_data: bool
If this packets data is preview data.
stream_terminated: bool
If transmission on this universe is terminated.
force_synchronization: bool
Force synchronization if no synchronization packets are received.
universe: u16
The universe DMX data is transmitted for.
data: DataPacketDmpLayer<'a>
DMP layer containing the DMX data.
Trait Implementations
impl<'a> Debug for DataPacketFramingLayer<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> Clone for DataPacketFramingLayer<'a>
[src]
fn clone(&self) -> DataPacketFramingLayer<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> PartialEq for DataPacketFramingLayer<'a>
[src]
fn eq(&self, __arg_0: &DataPacketFramingLayer<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DataPacketFramingLayer<'a>) -> bool
[src]
This method tests for !=
.