Enum ieee802154::mac::frame::FrameContent
source · [−]pub enum FrameContent {
Beacon(Beacon),
Data,
Acknowledgement,
Command(Command),
Multipurpose,
FragOrFragAck,
Extended,
}
Expand description
Content of a frame
Variants
Beacon(Beacon)
Beacon frame content
Data
Data frame
Acknowledgement
Acknowledgement frame
Command(Command)
MAC command frame
Multipurpose
Multipurpose frame
FragOrFragAck
Fragment of Fragment Ack frame
Extended
Extended frame
Trait Implementations
sourceimpl Clone for FrameContent
impl Clone for FrameContent
sourcefn clone(&self) -> FrameContent
fn clone(&self) -> FrameContent
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 more
sourceimpl Debug for FrameContent
impl Debug for FrameContent
sourceimpl Hash for FrameContent
impl Hash for FrameContent
sourceimpl PartialEq<FrameContent> for FrameContent
impl PartialEq<FrameContent> for FrameContent
sourcefn eq(&self, other: &FrameContent) -> bool
fn eq(&self, other: &FrameContent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryRead<'_, &Header> for FrameContent
impl TryRead<'_, &Header> for FrameContent
sourceimpl TryWrite<()> for FrameContent
impl TryWrite<()> for FrameContent
impl Copy for FrameContent
impl Eq for FrameContent
impl StructuralEq for FrameContent
impl StructuralPartialEq for FrameContent
Auto Trait Implementations
impl RefUnwindSafe for FrameContent
impl Send for FrameContent
impl Sync for FrameContent
impl Unpin for FrameContent
impl UnwindSafe for FrameContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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