pub struct FrameReadLowLevelEvent {
pub frame_type: u8,
pub identifier: u32,
pub data_length: u8,
pub data_data: [u8; 15],
}
Fields
frame_type: u8
identifier: u32
data_length: u8
data_data: [u8; 15]
Trait Implementations
sourceimpl Clone for FrameReadLowLevelEvent
impl Clone for FrameReadLowLevelEvent
sourcefn clone(&self) -> FrameReadLowLevelEvent
fn clone(&self) -> FrameReadLowLevelEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FrameReadLowLevelEvent
impl Debug for FrameReadLowLevelEvent
sourceimpl Default for FrameReadLowLevelEvent
impl Default for FrameReadLowLevelEvent
sourcefn default() -> FrameReadLowLevelEvent
fn default() -> FrameReadLowLevelEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for FrameReadLowLevelEvent
impl FromByteSlice for FrameReadLowLevelEvent
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> FrameReadLowLevelEvent
fn from_le_bytes(bytes: &[u8]) -> FrameReadLowLevelEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for FrameReadLowLevelEvent
impl Hash for FrameReadLowLevelEvent
sourceimpl LowLevelRead<u8, FrameReadResult> for FrameReadLowLevelEvent
impl LowLevelRead<u8, FrameReadResult> for FrameReadLowLevelEvent
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[u8] ⓘ
fn get_result(&self) -> FrameReadResult
sourceimpl PartialEq<FrameReadLowLevelEvent> for FrameReadLowLevelEvent
impl PartialEq<FrameReadLowLevelEvent> for FrameReadLowLevelEvent
sourcefn eq(&self, other: &FrameReadLowLevelEvent) -> bool
fn eq(&self, other: &FrameReadLowLevelEvent) -> bool
impl Copy for FrameReadLowLevelEvent
impl Eq for FrameReadLowLevelEvent
impl StructuralEq for FrameReadLowLevelEvent
impl StructuralPartialEq for FrameReadLowLevelEvent
Auto Trait Implementations
impl RefUnwindSafe for FrameReadLowLevelEvent
impl Send for FrameReadLowLevelEvent
impl Sync for FrameReadLowLevelEvent
impl Unpin for FrameReadLowLevelEvent
impl UnwindSafe for FrameReadLowLevelEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more