pub enum ChannelPolicy {
FollowStation,
Fixed(Channel),
}Expand description
Where a node’s ESP-NOW channel comes from. A node associated to an access point is channel-locked to that AP and must not retune (retuning would break the association), so it follows the station; a node not associated is free to park on a fixed rendezvous channel.
Variants§
Trait Implementations§
Source§impl Clone for ChannelPolicy
impl Clone for ChannelPolicy
Source§fn clone(&self) -> ChannelPolicy
fn clone(&self) -> ChannelPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChannelPolicy
Source§impl Debug for ChannelPolicy
impl Debug for ChannelPolicy
impl Eq for ChannelPolicy
Source§impl PartialEq for ChannelPolicy
impl PartialEq for ChannelPolicy
impl StructuralPartialEq for ChannelPolicy
Auto Trait Implementations§
impl Freeze for ChannelPolicy
impl RefUnwindSafe for ChannelPolicy
impl Send for ChannelPolicy
impl Sync for ChannelPolicy
impl Unpin for ChannelPolicy
impl UnsafeUnpin for ChannelPolicy
impl UnwindSafe for ChannelPolicy
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