1 //! Types which are documented locally in the Tokio crate, but does not actually 2 //! live here. 3 //! 4 //! **Note** this module is only visible on docs.rs, you cannot use it directly 5 //! in your own code. 6 7 /// The name of a type which is not defined here. 8 /// 9 /// This is typically used as an alias for another type, like so: 10 /// 11 /// ```rust,ignore 12 /// /// See [some::other::location](https://example.com). 13 /// type DEFINED_ELSEWHERE = crate::doc::NotDefinedHere; 14 /// ``` 15 /// 16 /// This type is uninhabitable like the [`never` type] to ensure that no one 17 /// will ever accidentally use it. 18 /// 19 /// [`never` type]: https://doc.rust-lang.org/std/primitive.never.html 20 #[derive(Debug)] 21 pub enum NotDefinedHere {} 22 23 pub mod os; 24 pub mod winapi; 25