mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This change implements the `AsFd` trait for the `EbpfLogger` struct. This allows obtaining a `BorrowedFd` from an `EbpfLogger` instance, which is safer than using `AsRawFd`. This improves the ergonomics of using `EbpfLogger` with APIs that accept file descriptors. Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> |
7 days ago | |
---|---|---|
.. | ||
lib.rs | 7 days ago |