Skip to main content

BoxOnce

Type Alias BoxOnce 

Source
pub type BoxOnce<'a, A, T = ()> = Box<dyn FnOnce(&A) -> T + Send + 'a>;
Expand description

Type alias for a boxed function that takes an argument and is Send.

Aliased Typeยง

pub struct BoxOnce<'a, A, T = ()>(/* private fields */);