ci: fix docs on latest nightly (#6120)

This commit is contained in:
Alice Ryhl 2023-11-01 17:33:32 +01:00 committed by GitHub
parent ed32cd194c
commit 4c8580152d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,4 +20,26 @@
#[derive(Debug)]
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;