Enum embedded_nano_mesh::PacketState
source · pub enum PacketState {
Normal,
Ping,
Pong,
SendTransaction,
AcceptTransaction,
InitTransaction,
FinishTransaction,
}Expand description
State of the packet.
Variants§
Trait Implementations§
source§impl Clone for PacketState
impl Clone for PacketState
source§fn clone(&self) -> PacketState
fn clone(&self) -> PacketState
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 PartialEq for PacketState
impl PartialEq for PacketState
source§fn eq(&self, other: &PacketState) -> bool
fn eq(&self, other: &PacketState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PacketState
impl StructuralPartialEq for PacketState
Auto Trait Implementations§
impl Freeze for PacketState
impl RefUnwindSafe for PacketState
impl Send for PacketState
impl Sync for PacketState
impl Unpin for PacketState
impl UnwindSafe for PacketState
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