mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
ci: fix docs on latest nightly (#6120)
This commit is contained in:
@@ -20,4 +20,26 @@
|
|||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum NotDefinedHere {}
|
pub enum NotDefinedHere {}
|
||||||
|
|
||||||
|
impl mio::event::Source for NotDefinedHere {
|
||||||
|
fn register(
|
||||||
|
&mut self,
|
||||||
|
registry: &mio::Registry,
|
||||||
|
token: mio::Token,
|
||||||
|
interests: mio::Interest,
|
||||||
|
) -> std::io::Result<()> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
fn reregister(
|
||||||
|
&mut self,
|
||||||
|
registry: &mio::Registry,
|
||||||
|
token: mio::Token,
|
||||||
|
interests: mio::Interest,
|
||||||
|
) -> std::io::Result<()> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
fn deregister(&mut self, registry: &mio::Registry) -> std::io::Result<()> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
pub mod os;
|
pub mod os;
|
||||||
|
|||||||
Reference in New Issue
Block a user