usestd::any::Any;usestd::fmt;/// Trait for resource handles that can be stored in a [`ResourceRegistry`](crate::resource::ResourceRegistry).
////// Implement this trait on your resource types to make them type-safely
/// retrievable from the registry.
pubtraitResourceHandle: Any + Send + Sync + fmt::Debug + 'static {/// Returns a human-readable name for the resource type (e.g., `"FileHandle"`).
fnresource_type(&self)->&str;/// Upcast to `&dyn Any` for type-erased storage.
fnas_any(&self)->&dyn Any;}