cast struct object to dynamic trait object in rust

前端 未结 0 1490
闹比i
闹比i 2020-11-30 14:15

this is a simpler version of my code.

type Res = Result<(), Box>;
// defined before-hand
pub trait Attr {
            


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