Update to new fevent

This commit is contained in:
Jeremy Soller
2019-03-13 14:08:44 -06:00
parent d9b9c7158d
commit 2ef4408a7a
8 changed files with 43 additions and 55 deletions
+3 -6
View File
@@ -92,14 +92,11 @@ impl Resource for PtyTermios {
}
}
fn fevent(&mut self) -> Result<()> {
fn fevent(&mut self) -> Result<usize> {
Err(Error::new(EBADF))
}
fn fevent_count(&mut self) -> Option<usize> {
None
}
fn fevent_writable(&mut self) -> bool {
false
fn events(&mut self) -> usize {
0
}
}