Searched refs:downcast_arc (Results 1 – 3 of 3) sorted by relevance
60 let arc_t: Arc<T> = arc.downcast_arc::<T>().unwrap();63   如果`arc`的具体类型不是`Arc<T>`,那么`downcast_arc::<T>()`会返回`None`。
65 fn downcast_arc<T: Any + Send + Sync>(self: Arc<Self>) -> Option<Arc<T>> { in downcast_arc() method
310 .downcast_arc::<SocketInode>() in get_socket()