Searched refs:DowncastArc (Results 1 – 5 of 5) sorted by relevance
44   当我们需要把一个`Arc<dyn U>`转换为`Arc<T>`的具体类型指针时,我们要为`U`这个trait实现`DowncastArc`trait。这个trait定义在`k…46   为`trait U: Any + Send + Sync`实现`DowncastArc`trait,需要这样做:49 impl DowncastArc for dyn U {56   使用`DowncastArc`trait,我们可以这样转换:
56 pub trait DowncastArc: Any + Send + Sync { interface
13 use crate::{libs::casting::DowncastArc, syscall::SystemError, time::TimeSpec};339 impl DowncastArc for dyn IndexNode {
50 - libs: DowncastArc and its docs (#244)228 new: DowncastArc and its docs (#244)
18 libs::casting::DowncastArc,