Skip to content

Commit e59c72b

Browse files
author
Bryant Mairs
committed
Add more derives for SignalFd
1 parent ef4efae commit e59c72b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/signalfd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub fn signalfd(fd: RawFd, mask: &SigSet, flags: SfdFlags) -> Result<RawFd> {
7979
/// Err(err) => (), // some error happend
8080
/// }
8181
/// ```
82-
#[derive(Debug)]
82+
#[derive(Clone, Debug, Eq, Hash, PartialEq)]
8383
pub struct SignalFd(RawFd);
8484

8585
impl SignalFd {

0 commit comments

Comments
 (0)