type BoxedTimeoutCallback = Box<dyn Fn() -> Pin<Box<dyn Future<Output = (usize, i32)> + Send + Sync>> + Send + Sync>;

Aliased Type§

struct BoxedTimeoutCallback(Unique<dyn Fn() -> Pin<Box<dyn Future<Output = (usize, i32)> + Sync + Send, Global>> + Sync + Send>, Global);

Fields§

§0: Unique<dyn Fn() -> Pin<Box<dyn Future<Output = (usize, i32)> + Sync + Send, Global>> + Sync + Send>§1: Global

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.