pub enum IpEvent<'a> {
ApStaIpAssigned(ApStaIpAssignment<'a>),
DhcpIpAssigned(DhcpIpAssignment<'a>),
DhcpIp6Assigned(DhcpIp6Assignment<'a>),
DhcpIpDeassigned(*mut esp_netif_t),
}
Variants§
ApStaIpAssigned(ApStaIpAssignment<'a>)
DhcpIpAssigned(DhcpIpAssignment<'a>)
DhcpIp6Assigned(DhcpIp6Assignment<'a>)
DhcpIpDeassigned(*mut esp_netif_t)
Implementations§
Source§impl IpEvent<'_>
impl IpEvent<'_>
pub fn is_for( &self, raw_handle: &impl RawHandle<Handle = *mut esp_netif_t>, ) -> bool
pub fn is_for_handle(&self, handle: *mut esp_netif_t) -> bool
pub fn handle(&self) -> Option<*mut esp_netif_t>
Trait Implementations§
Source§impl EspEventDeserializer for IpEvent<'_>
impl EspEventDeserializer for IpEvent<'_>
Source§impl EspEventSource for IpEvent<'_>
impl EspEventSource for IpEvent<'_>
impl<'a> Copy for IpEvent<'a>
impl Send for IpEvent<'_>
Auto Trait Implementations§
impl<'a> Freeze for IpEvent<'a>
impl<'a> RefUnwindSafe for IpEvent<'a>
impl<'a> !Sync for IpEvent<'a>
impl<'a> Unpin for IpEvent<'a>
impl<'a> UnwindSafe for IpEvent<'a>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)