Struct esp_idf_sys::wifi_osi_funcs_t

source ·
#[repr(C)]
pub struct wifi_osi_funcs_t {
Show 117 fields pub _version: i32, pub _env_is_chip: Option<unsafe extern "C" fn() -> bool>, pub _set_intr: Option<unsafe extern "C" fn(cpu_no: i32, intr_source: u32, intr_num: u32, intr_prio: i32)>, pub _clear_intr: Option<unsafe extern "C" fn(intr_source: u32, intr_num: u32)>, pub _set_isr: Option<unsafe extern "C" fn(n: i32, f: *mut c_void, arg: *mut c_void)>, pub _ints_on: Option<unsafe extern "C" fn(mask: u32)>, pub _ints_off: Option<unsafe extern "C" fn(mask: u32)>, pub _is_from_isr: Option<unsafe extern "C" fn() -> bool>, pub _spin_lock_create: Option<unsafe extern "C" fn() -> *mut c_void>, pub _spin_lock_delete: Option<unsafe extern "C" fn(lock: *mut c_void)>, pub _wifi_int_disable: Option<unsafe extern "C" fn(wifi_int_mux: *mut c_void) -> u32>, pub _wifi_int_restore: Option<unsafe extern "C" fn(wifi_int_mux: *mut c_void, tmp: u32)>, pub _task_yield_from_isr: Option<unsafe extern "C" fn()>, pub _semphr_create: Option<unsafe extern "C" fn(max: u32, init: u32) -> *mut c_void>, pub _semphr_delete: Option<unsafe extern "C" fn(semphr: *mut c_void)>, pub _semphr_take: Option<unsafe extern "C" fn(semphr: *mut c_void, block_time_tick: u32) -> i32>, pub _semphr_give: Option<unsafe extern "C" fn(semphr: *mut c_void) -> i32>, pub _wifi_thread_semphr_get: Option<unsafe extern "C" fn() -> *mut c_void>, pub _mutex_create: Option<unsafe extern "C" fn() -> *mut c_void>, pub _recursive_mutex_create: Option<unsafe extern "C" fn() -> *mut c_void>, pub _mutex_delete: Option<unsafe extern "C" fn(mutex: *mut c_void)>, pub _mutex_lock: Option<unsafe extern "C" fn(mutex: *mut c_void) -> i32>, pub _mutex_unlock: Option<unsafe extern "C" fn(mutex: *mut c_void) -> i32>, pub _queue_create: Option<unsafe extern "C" fn(queue_len: u32, item_size: u32) -> *mut c_void>, pub _queue_delete: Option<unsafe extern "C" fn(queue: *mut c_void)>, pub _queue_send: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, block_time_tick: u32) -> i32>, pub _queue_send_from_isr: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, hptw: *mut c_void) -> i32>, pub _queue_send_to_back: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, block_time_tick: u32) -> i32>, pub _queue_send_to_front: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, block_time_tick: u32) -> i32>, pub _queue_recv: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, block_time_tick: u32) -> i32>, pub _queue_msg_waiting: Option<unsafe extern "C" fn(queue: *mut c_void) -> u32>, pub _event_group_create: Option<unsafe extern "C" fn() -> *mut c_void>, pub _event_group_delete: Option<unsafe extern "C" fn(event: *mut c_void)>, pub _event_group_set_bits: Option<unsafe extern "C" fn(event: *mut c_void, bits: u32) -> u32>, pub _event_group_clear_bits: Option<unsafe extern "C" fn(event: *mut c_void, bits: u32) -> u32>, pub _event_group_wait_bits: Option<unsafe extern "C" fn(event: *mut c_void, bits_to_wait_for: u32, clear_on_exit: c_int, wait_for_all_bits: c_int, block_time_tick: u32) -> u32>, pub _task_create_pinned_to_core: Option<unsafe extern "C" fn(task_func: *mut c_void, name: *const c_char, stack_depth: u32, param: *mut c_void, prio: u32, task_handle: *mut c_void, core_id: u32) -> i32>, pub _task_create: Option<unsafe extern "C" fn(task_func: *mut c_void, name: *const c_char, stack_depth: u32, param: *mut c_void, prio: u32, task_handle: *mut c_void) -> i32>, pub _task_delete: Option<unsafe extern "C" fn(task_handle: *mut c_void)>, pub _task_delay: Option<unsafe extern "C" fn(tick: u32)>, pub _task_ms_to_tick: Option<unsafe extern "C" fn(ms: u32) -> i32>, pub _task_get_current_task: Option<unsafe extern "C" fn() -> *mut c_void>, pub _task_get_max_priority: Option<unsafe extern "C" fn() -> i32>, pub _malloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>, pub _free: Option<unsafe extern "C" fn(p: *mut c_void)>, pub _event_post: Option<unsafe extern "C" fn(event_base: *const c_char, event_id: i32, event_data: *mut c_void, event_data_size: usize, ticks_to_wait: u32) -> i32>, pub _get_free_heap_size: Option<unsafe extern "C" fn() -> u32>, pub _rand: Option<unsafe extern "C" fn() -> u32>, pub _dport_access_stall_other_cpu_start_wrap: Option<unsafe extern "C" fn()>, pub _dport_access_stall_other_cpu_end_wrap: Option<unsafe extern "C" fn()>, pub _wifi_apb80m_request: Option<unsafe extern "C" fn()>, pub _wifi_apb80m_release: Option<unsafe extern "C" fn()>, pub _phy_disable: Option<unsafe extern "C" fn()>, pub _phy_enable: Option<unsafe extern "C" fn()>, pub _phy_update_country_info: Option<unsafe extern "C" fn(country: *const c_char) -> c_int>, pub _read_mac: Option<unsafe extern "C" fn(mac: *mut u8, type_: c_uint) -> c_int>, pub _timer_arm: Option<unsafe extern "C" fn(timer: *mut c_void, tmout: u32, repeat: bool)>, pub _timer_disarm: Option<unsafe extern "C" fn(timer: *mut c_void)>, pub _timer_done: Option<unsafe extern "C" fn(ptimer: *mut c_void)>, pub _timer_setfn: Option<unsafe extern "C" fn(ptimer: *mut c_void, pfunction: *mut c_void, parg: *mut c_void)>, pub _timer_arm_us: Option<unsafe extern "C" fn(ptimer: *mut c_void, us: u32, repeat: bool)>, pub _wifi_reset_mac: Option<unsafe extern "C" fn()>, pub _wifi_clock_enable: Option<unsafe extern "C" fn()>, pub _wifi_clock_disable: Option<unsafe extern "C" fn()>, pub _wifi_rtc_enable_iso: Option<unsafe extern "C" fn()>, pub _wifi_rtc_disable_iso: Option<unsafe extern "C" fn()>, pub _esp_timer_get_time: Option<unsafe extern "C" fn() -> i64>, pub _nvs_set_i8: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, value: i8) -> c_int>, pub _nvs_get_i8: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, out_value: *mut i8) -> c_int>, pub _nvs_set_u8: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, value: u8) -> c_int>, pub _nvs_get_u8: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, out_value: *mut u8) -> c_int>, pub _nvs_set_u16: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, value: u16) -> c_int>, pub _nvs_get_u16: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, out_value: *mut u16) -> c_int>, pub _nvs_open: Option<unsafe extern "C" fn(name: *const c_char, open_mode: c_uint, out_handle: *mut u32) -> c_int>, pub _nvs_close: Option<unsafe extern "C" fn(handle: u32)>, pub _nvs_commit: Option<unsafe extern "C" fn(handle: u32) -> c_int>, pub _nvs_set_blob: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, value: *const c_void, length: usize) -> c_int>, pub _nvs_get_blob: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, out_value: *mut c_void, length: *mut usize) -> c_int>, pub _nvs_erase_key: Option<unsafe extern "C" fn(handle: u32, key: *const c_char) -> c_int>, pub _get_random: Option<unsafe extern "C" fn(buf: *mut u8, len: usize) -> c_int>, pub _get_time: Option<unsafe extern "C" fn(t: *mut c_void) -> c_int>, pub _random: Option<unsafe extern "C" fn() -> c_ulong>, pub _slowclk_cal_get: Option<unsafe extern "C" fn() -> u32>, pub _log_write: Option<unsafe extern "C" fn(level: c_uint, tag: *const c_char, format: *const c_char, ...)>, pub _log_writev: Option<unsafe extern "C" fn(level: c_uint, tag: *const c_char, format: *const c_char, args: va_list)>, pub _log_timestamp: Option<unsafe extern "C" fn() -> u32>, pub _malloc_internal: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>, pub _realloc_internal: Option<unsafe extern "C" fn(ptr: *mut c_void, size: usize) -> *mut c_void>, pub _calloc_internal: Option<unsafe extern "C" fn(n: usize, size: usize) -> *mut c_void>, pub _zalloc_internal: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>, pub _wifi_malloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>, pub _wifi_realloc: Option<unsafe extern "C" fn(ptr: *mut c_void, size: usize) -> *mut c_void>, pub _wifi_calloc: Option<unsafe extern "C" fn(n: usize, size: usize) -> *mut c_void>, pub _wifi_zalloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>, pub _wifi_create_queue: Option<unsafe extern "C" fn(queue_len: c_int, item_size: c_int) -> *mut c_void>, pub _wifi_delete_queue: Option<unsafe extern "C" fn(queue: *mut c_void)>, pub _coex_init: Option<unsafe extern "C" fn() -> c_int>, pub _coex_deinit: Option<unsafe extern "C" fn()>, pub _coex_enable: Option<unsafe extern "C" fn() -> c_int>, pub _coex_disable: Option<unsafe extern "C" fn()>, pub _coex_status_get: Option<unsafe extern "C" fn() -> u32>, pub _coex_condition_set: Option<unsafe extern "C" fn(type_: u32, dissatisfy: bool)>, pub _coex_wifi_request: Option<unsafe extern "C" fn(event: u32, latency: u32, duration: u32) -> c_int>, pub _coex_wifi_release: Option<unsafe extern "C" fn(event: u32) -> c_int>, pub _coex_wifi_channel_set: Option<unsafe extern "C" fn(primary: u8, secondary: u8) -> c_int>, pub _coex_event_duration_get: Option<unsafe extern "C" fn(event: u32, duration: *mut u32) -> c_int>, pub _coex_pti_get: Option<unsafe extern "C" fn(event: u32, pti: *mut u8) -> c_int>, pub _coex_schm_status_bit_clear: Option<unsafe extern "C" fn(type_: u32, status: u32)>, pub _coex_schm_status_bit_set: Option<unsafe extern "C" fn(type_: u32, status: u32)>, pub _coex_schm_interval_set: Option<unsafe extern "C" fn(interval: u32) -> c_int>, pub _coex_schm_interval_get: Option<unsafe extern "C" fn() -> u32>, pub _coex_schm_curr_period_get: Option<unsafe extern "C" fn() -> u8>, pub _coex_schm_curr_phase_get: Option<unsafe extern "C" fn() -> *mut c_void>, pub _coex_schm_process_restart: Option<unsafe extern "C" fn() -> c_int>, pub _coex_schm_register_cb: Option<unsafe extern "C" fn(arg1: c_int, cb: Option<unsafe extern "C" fn(arg1: c_int) -> c_int>) -> c_int>, pub _coex_register_start_cb: Option<unsafe extern "C" fn(cb: Option<unsafe extern "C" fn() -> c_int>) -> c_int>, pub _magic: i32,
}

Fields§

§_version: i32§_env_is_chip: Option<unsafe extern "C" fn() -> bool>§_set_intr: Option<unsafe extern "C" fn(cpu_no: i32, intr_source: u32, intr_num: u32, intr_prio: i32)>§_clear_intr: Option<unsafe extern "C" fn(intr_source: u32, intr_num: u32)>§_set_isr: Option<unsafe extern "C" fn(n: i32, f: *mut c_void, arg: *mut c_void)>§_ints_on: Option<unsafe extern "C" fn(mask: u32)>§_ints_off: Option<unsafe extern "C" fn(mask: u32)>§_is_from_isr: Option<unsafe extern "C" fn() -> bool>§_spin_lock_create: Option<unsafe extern "C" fn() -> *mut c_void>§_spin_lock_delete: Option<unsafe extern "C" fn(lock: *mut c_void)>§_wifi_int_disable: Option<unsafe extern "C" fn(wifi_int_mux: *mut c_void) -> u32>§_wifi_int_restore: Option<unsafe extern "C" fn(wifi_int_mux: *mut c_void, tmp: u32)>§_task_yield_from_isr: Option<unsafe extern "C" fn()>§_semphr_create: Option<unsafe extern "C" fn(max: u32, init: u32) -> *mut c_void>§_semphr_delete: Option<unsafe extern "C" fn(semphr: *mut c_void)>§_semphr_take: Option<unsafe extern "C" fn(semphr: *mut c_void, block_time_tick: u32) -> i32>§_semphr_give: Option<unsafe extern "C" fn(semphr: *mut c_void) -> i32>§_wifi_thread_semphr_get: Option<unsafe extern "C" fn() -> *mut c_void>§_mutex_create: Option<unsafe extern "C" fn() -> *mut c_void>§_recursive_mutex_create: Option<unsafe extern "C" fn() -> *mut c_void>§_mutex_delete: Option<unsafe extern "C" fn(mutex: *mut c_void)>§_mutex_lock: Option<unsafe extern "C" fn(mutex: *mut c_void) -> i32>§_mutex_unlock: Option<unsafe extern "C" fn(mutex: *mut c_void) -> i32>§_queue_create: Option<unsafe extern "C" fn(queue_len: u32, item_size: u32) -> *mut c_void>§_queue_delete: Option<unsafe extern "C" fn(queue: *mut c_void)>§_queue_send: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, block_time_tick: u32) -> i32>§_queue_send_from_isr: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, hptw: *mut c_void) -> i32>§_queue_send_to_back: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, block_time_tick: u32) -> i32>§_queue_send_to_front: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, block_time_tick: u32) -> i32>§_queue_recv: Option<unsafe extern "C" fn(queue: *mut c_void, item: *mut c_void, block_time_tick: u32) -> i32>§_queue_msg_waiting: Option<unsafe extern "C" fn(queue: *mut c_void) -> u32>§_event_group_create: Option<unsafe extern "C" fn() -> *mut c_void>§_event_group_delete: Option<unsafe extern "C" fn(event: *mut c_void)>§_event_group_set_bits: Option<unsafe extern "C" fn(event: *mut c_void, bits: u32) -> u32>§_event_group_clear_bits: Option<unsafe extern "C" fn(event: *mut c_void, bits: u32) -> u32>§_event_group_wait_bits: Option<unsafe extern "C" fn(event: *mut c_void, bits_to_wait_for: u32, clear_on_exit: c_int, wait_for_all_bits: c_int, block_time_tick: u32) -> u32>§_task_create_pinned_to_core: Option<unsafe extern "C" fn(task_func: *mut c_void, name: *const c_char, stack_depth: u32, param: *mut c_void, prio: u32, task_handle: *mut c_void, core_id: u32) -> i32>§_task_create: Option<unsafe extern "C" fn(task_func: *mut c_void, name: *const c_char, stack_depth: u32, param: *mut c_void, prio: u32, task_handle: *mut c_void) -> i32>§_task_delete: Option<unsafe extern "C" fn(task_handle: *mut c_void)>§_task_delay: Option<unsafe extern "C" fn(tick: u32)>§_task_ms_to_tick: Option<unsafe extern "C" fn(ms: u32) -> i32>§_task_get_current_task: Option<unsafe extern "C" fn() -> *mut c_void>§_task_get_max_priority: Option<unsafe extern "C" fn() -> i32>§_malloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>§_free: Option<unsafe extern "C" fn(p: *mut c_void)>§_event_post: Option<unsafe extern "C" fn(event_base: *const c_char, event_id: i32, event_data: *mut c_void, event_data_size: usize, ticks_to_wait: u32) -> i32>§_get_free_heap_size: Option<unsafe extern "C" fn() -> u32>§_rand: Option<unsafe extern "C" fn() -> u32>§_dport_access_stall_other_cpu_start_wrap: Option<unsafe extern "C" fn()>§_dport_access_stall_other_cpu_end_wrap: Option<unsafe extern "C" fn()>§_wifi_apb80m_request: Option<unsafe extern "C" fn()>§_wifi_apb80m_release: Option<unsafe extern "C" fn()>§_phy_disable: Option<unsafe extern "C" fn()>§_phy_enable: Option<unsafe extern "C" fn()>§_phy_update_country_info: Option<unsafe extern "C" fn(country: *const c_char) -> c_int>§_read_mac: Option<unsafe extern "C" fn(mac: *mut u8, type_: c_uint) -> c_int>§_timer_arm: Option<unsafe extern "C" fn(timer: *mut c_void, tmout: u32, repeat: bool)>§_timer_disarm: Option<unsafe extern "C" fn(timer: *mut c_void)>§_timer_done: Option<unsafe extern "C" fn(ptimer: *mut c_void)>§_timer_setfn: Option<unsafe extern "C" fn(ptimer: *mut c_void, pfunction: *mut c_void, parg: *mut c_void)>§_timer_arm_us: Option<unsafe extern "C" fn(ptimer: *mut c_void, us: u32, repeat: bool)>§_wifi_reset_mac: Option<unsafe extern "C" fn()>§_wifi_clock_enable: Option<unsafe extern "C" fn()>§_wifi_clock_disable: Option<unsafe extern "C" fn()>§_wifi_rtc_enable_iso: Option<unsafe extern "C" fn()>§_wifi_rtc_disable_iso: Option<unsafe extern "C" fn()>§_esp_timer_get_time: Option<unsafe extern "C" fn() -> i64>§_nvs_set_i8: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, value: i8) -> c_int>§_nvs_get_i8: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, out_value: *mut i8) -> c_int>§_nvs_set_u8: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, value: u8) -> c_int>§_nvs_get_u8: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, out_value: *mut u8) -> c_int>§_nvs_set_u16: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, value: u16) -> c_int>§_nvs_get_u16: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, out_value: *mut u16) -> c_int>§_nvs_open: Option<unsafe extern "C" fn(name: *const c_char, open_mode: c_uint, out_handle: *mut u32) -> c_int>§_nvs_close: Option<unsafe extern "C" fn(handle: u32)>§_nvs_commit: Option<unsafe extern "C" fn(handle: u32) -> c_int>§_nvs_set_blob: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, value: *const c_void, length: usize) -> c_int>§_nvs_get_blob: Option<unsafe extern "C" fn(handle: u32, key: *const c_char, out_value: *mut c_void, length: *mut usize) -> c_int>§_nvs_erase_key: Option<unsafe extern "C" fn(handle: u32, key: *const c_char) -> c_int>§_get_random: Option<unsafe extern "C" fn(buf: *mut u8, len: usize) -> c_int>§_get_time: Option<unsafe extern "C" fn(t: *mut c_void) -> c_int>§_random: Option<unsafe extern "C" fn() -> c_ulong>§_slowclk_cal_get: Option<unsafe extern "C" fn() -> u32>§_log_write: Option<unsafe extern "C" fn(level: c_uint, tag: *const c_char, format: *const c_char, ...)>§_log_writev: Option<unsafe extern "C" fn(level: c_uint, tag: *const c_char, format: *const c_char, args: va_list)>§_log_timestamp: Option<unsafe extern "C" fn() -> u32>§_malloc_internal: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>§_realloc_internal: Option<unsafe extern "C" fn(ptr: *mut c_void, size: usize) -> *mut c_void>§_calloc_internal: Option<unsafe extern "C" fn(n: usize, size: usize) -> *mut c_void>§_zalloc_internal: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>§_wifi_malloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>§_wifi_realloc: Option<unsafe extern "C" fn(ptr: *mut c_void, size: usize) -> *mut c_void>§_wifi_calloc: Option<unsafe extern "C" fn(n: usize, size: usize) -> *mut c_void>§_wifi_zalloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>§_wifi_create_queue: Option<unsafe extern "C" fn(queue_len: c_int, item_size: c_int) -> *mut c_void>§_wifi_delete_queue: Option<unsafe extern "C" fn(queue: *mut c_void)>§_coex_init: Option<unsafe extern "C" fn() -> c_int>§_coex_deinit: Option<unsafe extern "C" fn()>§_coex_enable: Option<unsafe extern "C" fn() -> c_int>§_coex_disable: Option<unsafe extern "C" fn()>§_coex_status_get: Option<unsafe extern "C" fn() -> u32>§_coex_condition_set: Option<unsafe extern "C" fn(type_: u32, dissatisfy: bool)>§_coex_wifi_request: Option<unsafe extern "C" fn(event: u32, latency: u32, duration: u32) -> c_int>§_coex_wifi_release: Option<unsafe extern "C" fn(event: u32) -> c_int>§_coex_wifi_channel_set: Option<unsafe extern "C" fn(primary: u8, secondary: u8) -> c_int>§_coex_event_duration_get: Option<unsafe extern "C" fn(event: u32, duration: *mut u32) -> c_int>§_coex_pti_get: Option<unsafe extern "C" fn(event: u32, pti: *mut u8) -> c_int>§_coex_schm_status_bit_clear: Option<unsafe extern "C" fn(type_: u32, status: u32)>§_coex_schm_status_bit_set: Option<unsafe extern "C" fn(type_: u32, status: u32)>§_coex_schm_interval_set: Option<unsafe extern "C" fn(interval: u32) -> c_int>§_coex_schm_interval_get: Option<unsafe extern "C" fn() -> u32>§_coex_schm_curr_period_get: Option<unsafe extern "C" fn() -> u8>§_coex_schm_curr_phase_get: Option<unsafe extern "C" fn() -> *mut c_void>§_coex_schm_process_restart: Option<unsafe extern "C" fn() -> c_int>§_coex_schm_register_cb: Option<unsafe extern "C" fn(arg1: c_int, cb: Option<unsafe extern "C" fn(arg1: c_int) -> c_int>) -> c_int>§_coex_register_start_cb: Option<unsafe extern "C" fn(cb: Option<unsafe extern "C" fn() -> c_int>) -> c_int>§_magic: i32

Trait Implementations§

source§

impl Clone for wifi_osi_funcs_t

source§

fn clone(&self) -> wifi_osi_funcs_t

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for wifi_osi_funcs_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for wifi_osi_funcs_t

source§

fn default() -> wifi_osi_funcs_t

Returns the “default value” for a type. Read more
source§

impl Copy for wifi_osi_funcs_t

Auto Trait Implementations§

§

impl Freeze for wifi_osi_funcs_t

§

impl RefUnwindSafe for wifi_osi_funcs_t

§

impl Send for wifi_osi_funcs_t

§

impl Sync for wifi_osi_funcs_t

§

impl Unpin for wifi_osi_funcs_t

§

impl UnwindSafe for wifi_osi_funcs_t

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Copy,

§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.