您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213
  1. pub struct ThreadPool;
  2. impl ThreadPool {
  3. pub fn new(size: usize) -> ThreadPool {
  4. assert!(size > 0);
  5. ThreadPool
  6. }
  7. pub fn execute<F>(&self, f: F)
  8. where F: FnOnce() + Send + 'static {
  9. }
  10. }