#[non_exhaustive]pub enum SimplexEnd {
Source,
Peer,
}Expand description
Which end of an asymmetric ESP-NOW simplex exchange a node is.
The ends are built through SimplexConfig::source and SimplexConfig::peer, which take
different arguments because the two ends consume different settings.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Source
The flooding end: an initiator and sensing transmitter that reports nothing.
Peer
The measuring end: a receive-only responder and sensing receiver that reports everything.
Trait Implementations§
Source§impl Clone for SimplexEnd
impl Clone for SimplexEnd
impl Copy for SimplexEnd
Source§impl Debug for SimplexEnd
impl Debug for SimplexEnd
impl Eq for SimplexEnd
Source§impl PartialEq for SimplexEnd
impl PartialEq for SimplexEnd
impl StructuralPartialEq for SimplexEnd
Auto Trait Implementations§
impl Freeze for SimplexEnd
impl RefUnwindSafe for SimplexEnd
impl Send for SimplexEnd
impl Sync for SimplexEnd
impl Unpin for SimplexEnd
impl UnsafeUnpin for SimplexEnd
impl UnwindSafe for SimplexEnd
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