Box::pin() vs Pin::new_unchecked()

后端 未结 0 413
孤街浪徒
孤街浪徒 2020-11-28 04:19

Trying to understand the difference between Box::pin() and Pin::new_unchecked(). Suppose the following code:

use std::pin::Pin;
use          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题