Enum esp_idf_svc::netif::IpEvent
source · 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<'a> IpEvent<'a>
impl<'a> IpEvent<'a>
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<'a> EspEventDeserializer for IpEvent<'a>
impl<'a> EspEventDeserializer for IpEvent<'a>
source§impl<'a> EspEventSource for IpEvent<'a>
impl<'a> EspEventSource for IpEvent<'a>
impl<'a> Copy for IpEvent<'a>
impl<'a> Send for IpEvent<'a>
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,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)