Searched refs:net_class (Results 1 – 1 of 1) sorted by relevance
33 let net_class: Arc<NetClass> = NetClass::new(); in net_init() localVariable34 class_manager().class_register(&(net_class.clone() as Arc<dyn Class>))?; in net_init()37 CLASS_NET_INSTANCE = Some(net_class); in net_init()52 let net_class = Arc::new(Self { in new() localVariable55 net_class in new()57 .set_class(Some(Arc::downgrade(&net_class) as Weak<dyn Class>)); in new()59 return net_class; in new()