Do I really need downcasting on Rust?

前端 未结 0 319
挽巷
挽巷 2021-01-30 00:39

Suppose I have 2 traits:

pub trait VpnProvider {
    fn connect();
}

pub trait RtspClient {
    fn connect();
    fn set_vpn_provider(Arc

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