Searched refs:fallible_closure (Results 1 – 2 of 2) sorted by relevance
16 use crate::usb::xhci::ring_buffer_stop_cb::{fallible_closure, RingBufferStopCallback};149 let auto_callback = RingBufferStopCallback::new(fallible_closure( in stop_all_and_reset()366 RingBufferStopCallback::new(fallible_closure(fail_handle, move || { in disable()589 RingBufferStopCallback::new(fallible_closure(fail_handle, move || -> Result<()> { in reset_slot()632 let auto_cb = RingBufferStopCallback::new(fallible_closure( in stop_endpoint()
41 pub fn fallible_closure<E: std::fmt::Display, C: FnMut() -> Result<(), E> + 'static + Send>( in fallible_closure() function