pub enum BandMode {
Band2_4G,
Band5G,
Auto,
}Expand description
WiFi band mode for the access point.
Selects whether the AP operates on 2.4GHz, 5GHz, or both. Only the ESP32-C5 supports 5GHz; other chips ignore the setting and always operate on 2.4GHz.
Variants§
Band2_4G
2.4 GHz only (default, supported by all ESP32 variants).
Band5G
5 GHz only (ESP32-C5 only).
Auto
Dual-band 2.4 GHz + 5 GHz (ESP32-C5 only).
Trait Implementations§
impl Copy for BandMode
impl Eq for BandMode
impl StructuralPartialEq for BandMode
Auto Trait Implementations§
impl Freeze for BandMode
impl RefUnwindSafe for BandMode
impl Send for BandMode
impl Sync for BandMode
impl Unpin for BandMode
impl UnsafeUnpin for BandMode
impl UnwindSafe for BandMode
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