tracing fixes in unix poll; add some missing debug impls

This commit is contained in:
Pat Hickey
2020-08-25 11:29:34 -07:00
parent 963fe37eea
commit 930912f783
3 changed files with 16 additions and 4 deletions

View File

@@ -18,6 +18,12 @@ impl EntryHandle {
}
}
impl std::fmt::Debug for EntryHandle {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
f.debug_struct("EntryHandle").field("opaque", &()).finish()
}
}
impl From<Box<dyn Handle>> for EntryHandle {
fn from(handle: Box<dyn Handle>) -> Self {
Self(handle.into())