pub struct Extended { /* private fields */ }Expand description
Extended EZSP header used by protocol version 8 and newer.
The extended format stores the sequence number, low and high frame-control bytes, and a 16-bit frame ID.
Implementations§
Trait Implementations§
impl Copy for Extended
impl Eq for Extended
Source§impl FromLeStream for Extended
impl FromLeStream for Extended
Source§fn from_le_stream<__LeStreamBytesIterator>(
bytes: __LeStreamBytesIterator,
) -> Option<Self>
fn from_le_stream<__LeStreamBytesIterator>( bytes: __LeStreamBytesIterator, ) -> Option<Self>
Parses a value from the front of a little-endian byte stream. Read more
impl StructuralPartialEq for Extended
Source§impl ToLeStream for Extended
impl ToLeStream for Extended
Source§type Iter = Chain<Chain<Chain<<u8 as ToLeStream>::Iter, <LowByte as ToLeStream>::Iter>, <HighByte as ToLeStream>::Iter>, <u16 as ToLeStream>::Iter>
type Iter = Chain<Chain<Chain<<u8 as ToLeStream>::Iter, <LowByte as ToLeStream>::Iter>, <HighByte as ToLeStream>::Iter>, <u16 as ToLeStream>::Iter>
Iterator returned by
to_le_stream.Source§fn to_le_stream(self) -> <Self as ToLeStream>::Iter
fn to_le_stream(self) -> <Self as ToLeStream>::Iter
Returns an iterator over the little-endian byte representation. Read more
Auto Trait Implementations§
impl Freeze for Extended
impl RefUnwindSafe for Extended
impl Send for Extended
impl Sync for Extended
impl Unpin for Extended
impl UnsafeUnpin for Extended
impl UnwindSafe for Extended
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more