Type Alias riot_sys::nanocoap_cache_update_strategy_t
source · pub type nanocoap_cache_update_strategy_t = Option<unsafe extern "C" fn(node: *mut clist_node_t) -> c_int>;
Expand description
@brief Typedef for the cache update strategy on element access.
@param[in] node The accessed node.
@return 0 on successfully updating the element @return -1 on error
Aliased Type§
enum nanocoap_cache_update_strategy_t {
None,
Some(unsafe extern "C" fn(_: *mut list_node) -> i32),
}