poll oneoff tests: what if we read a non-empty file?

This commit is contained in:
Pat Hickey
2021-05-05 12:55:07 -07:00
parent 909d691b55
commit 9e04c5333c
3 changed files with 41 additions and 9 deletions

View File

@@ -62,6 +62,7 @@ pub enum Subscription<'a> {
MonotonicClock(MonotonicClockSubscription<'a>),
}
#[derive(Debug)]
pub enum SubscriptionResult {
Read(Result<(u64, RwEventFlags), Error>),
Write(Result<(u64, RwEventFlags), Error>),