pub struct FrameLowLevelEvent {
pub frame_length: u16,
pub frame_chunk_offset: u16,
pub frame_chunk_data: [u8; 56],
pub frame_number: u32,
}
Fields§
§frame_length: u16
§frame_chunk_offset: u16
§frame_chunk_data: [u8; 56]
§frame_number: u32
Trait Implementations§
Source§impl Clone for FrameLowLevelEvent
impl Clone for FrameLowLevelEvent
Source§fn clone(&self) -> FrameLowLevelEvent
fn clone(&self) -> FrameLowLevelEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl FromByteSlice for FrameLowLevelEvent
impl FromByteSlice for FrameLowLevelEvent
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> FrameLowLevelEvent
fn from_le_byte_slice(bytes: &[u8]) -> FrameLowLevelEvent
Deserialize the implementing type from a byte slice.
Source§impl LowLevelRead<u8, FrameResult> for FrameLowLevelEvent
impl LowLevelRead<u8, FrameResult> for FrameLowLevelEvent
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[u8] ⓘ
fn get_result(&self) -> FrameResult
impl Copy for FrameLowLevelEvent
Auto Trait Implementations§
impl Freeze for FrameLowLevelEvent
impl RefUnwindSafe for FrameLowLevelEvent
impl Send for FrameLowLevelEvent
impl Sync for FrameLowLevelEvent
impl Unpin for FrameLowLevelEvent
impl UnwindSafe for FrameLowLevelEvent
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