#[repr(u8)]pub enum ApBehaviourEnum {
ApBehaviorBootNoConn = 0,
ApBehaviorNoConn = 1,
ApBehaviorAlways = 2,
ApBehaviorButtonOnly = 3,
RSVD1 = 4,
RSVD2 = 5,
RSVD3 = 6,
RSVD4 = 7,
RSVD5 = 8,
RSVD6 = 9,
}Variants§
ApBehaviorBootNoConn = 0
Open AP when no connection after boot
ApBehaviorNoConn = 1
Open when no connection (either after boot or if connection is lost)
ApBehaviorAlways = 2
Always open
ApBehaviorButtonOnly = 3
Only when button pressed for 6 sec
RSVD1 = 4
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more AP behaviours
RSVD2 = 5
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more AP behaviours
RSVD3 = 6
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more AP behaviours
RSVD4 = 7
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more AP behaviours
RSVD5 = 8
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more AP behaviours
RSVD6 = 9
Reserved to keep some semblance of backwards compatibility when new WLED versions come out with more AP behaviours
Trait Implementations§
source§impl Clone for ApBehaviourEnum
impl Clone for ApBehaviourEnum
source§fn clone(&self) -> ApBehaviourEnum
fn clone(&self) -> ApBehaviourEnum
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ApBehaviourEnum
impl Debug for ApBehaviourEnum
source§impl<'de> Deserialize<'de> for ApBehaviourEnum
impl<'de> Deserialize<'de> for ApBehaviourEnum
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
source§impl PartialEq for ApBehaviourEnum
impl PartialEq for ApBehaviourEnum
source§fn eq(&self, other: &ApBehaviourEnum) -> bool
fn eq(&self, other: &ApBehaviourEnum) -> bool
self and other values to be equal, and is used
by ==.