Enum esp_idf_svc::eth::EthEvent
source · pub enum EthEvent {
Started(esp_eth_handle_t),
Stopped(esp_eth_handle_t),
Connected(esp_eth_handle_t),
Disconnected(esp_eth_handle_t),
}
Variants§
Started(esp_eth_handle_t)
Stopped(esp_eth_handle_t)
Connected(esp_eth_handle_t)
Disconnected(esp_eth_handle_t)
Implementations§
source§impl EthEvent
impl EthEvent
pub fn is_for( &self, raw_handle: impl RawHandle<Handle = esp_eth_handle_t>, ) -> bool
pub fn is_for_handle(&self, handle: esp_eth_handle_t) -> bool
pub fn handle(&self) -> esp_eth_handle_t
Trait Implementations§
source§impl EspEventDeserializer for EthEvent
impl EspEventDeserializer for EthEvent
source§impl EspEventSource for EthEvent
impl EspEventSource for EthEvent
impl Copy for EthEvent
impl Eq for EthEvent
impl Send for EthEvent
impl StructuralPartialEq for EthEvent
Auto Trait Implementations§
impl Freeze for EthEvent
impl RefUnwindSafe for EthEvent
impl !Sync for EthEvent
impl Unpin for EthEvent
impl UnwindSafe for EthEvent
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
)