pub struct RawDataRecordHeader<'a> {
pub data_information_block: DataInformationBlock<'a>,
pub value_information_block: Option<ValueInformationBlock>,
}
Fields§
§data_information_block: DataInformationBlock<'a>
§value_information_block: Option<ValueInformationBlock>
Trait Implementations§
Source§impl<'a> Debug for RawDataRecordHeader<'a>
impl<'a> Debug for RawDataRecordHeader<'a>
Source§impl<'a> PartialEq for RawDataRecordHeader<'a>
impl<'a> PartialEq for RawDataRecordHeader<'a>
Source§impl<'a> TryFrom<&'a [u8]> for RawDataRecordHeader<'a>
impl<'a> TryFrom<&'a [u8]> for RawDataRecordHeader<'a>
Source§type Error = DataRecordError
type Error = DataRecordError
The type returned in the event of a conversion error.
Source§fn try_from(data: &[u8]) -> Result<RawDataRecordHeader<'_>, DataRecordError>
fn try_from(data: &[u8]) -> Result<RawDataRecordHeader<'_>, DataRecordError>
Performs the conversion.
Source§impl TryFrom<&RawDataRecordHeader<'_>> for ProcessedDataRecordHeader
impl TryFrom<&RawDataRecordHeader<'_>> for ProcessedDataRecordHeader
Source§type Error = DataRecordError
type Error = DataRecordError
The type returned in the event of a conversion error.
Source§fn try_from(
raw_data_record_header: &RawDataRecordHeader<'_>,
) -> Result<Self, DataRecordError>
fn try_from( raw_data_record_header: &RawDataRecordHeader<'_>, ) -> Result<Self, DataRecordError>
Performs the conversion.
impl<'a> StructuralPartialEq for RawDataRecordHeader<'a>
Auto Trait Implementations§
impl<'a> Freeze for RawDataRecordHeader<'a>
impl<'a> RefUnwindSafe for RawDataRecordHeader<'a>
impl<'a> Send for RawDataRecordHeader<'a>
impl<'a> Sync for RawDataRecordHeader<'a>
impl<'a> Unpin for RawDataRecordHeader<'a>
impl<'a> UnwindSafe for RawDataRecordHeader<'a>
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