pub trait CoOnce<Args> { type Output; // Required method fn call_once(self, args: Args) -> Self::Output; }
Replacement for FnOnce - representing a single bundled computation - until that can be manually implemented. Designed to use the same API.
FnOnce
Automatically implemented for all FnOnce.