Enum Event
pub enum Event<'a> {
EnableStatus(Status),
DisableStatus(Status),
ApStation {
connected: bool,
mac: &'a MacAddress,
},
StationStatus(StationStatus),
StationRouterInfo(&'a StationRouter),
StationScanRouter(&'a [StationScanInfo]),
}Expand description
WiFi event.
Variants§
EnableStatus(Status)
DisableStatus(Status)
ApStation
StationStatus(StationStatus)
StationRouterInfo(&'a StationRouter)
StationScanRouter(&'a [StationScanInfo])
Implementations§
§impl<'a> Event<'a>
impl<'a> Event<'a>
pub(crate) fn from_sys_ref(event: &'a Event) -> Result<Self>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
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