pub struct AsyncFdRef<'a> { /* private fields */ }Expand description
Borrowed readiness source returned by an AsyncFdReadyGuard.
On Linux and Apple platforms this wraps the watch file descriptor. On other platforms the value is never used.
Implementations§
Source§impl<'a> AsyncFdRef<'a>
impl<'a> AsyncFdRef<'a>
pub fn from_borrowed_fd(inner: BorrowedFd<'a>) -> Self
pub fn as_fd(&self) -> BorrowedFd<'_>
Auto Trait Implementations§
impl<'a> Freeze for AsyncFdRef<'a>
impl<'a> RefUnwindSafe for AsyncFdRef<'a>
impl<'a> Send for AsyncFdRef<'a>
impl<'a> Sync for AsyncFdRef<'a>
impl<'a> Unpin for AsyncFdRef<'a>
impl<'a> UnsafeUnpin for AsyncFdRef<'a>
impl<'a> UnwindSafe for AsyncFdRef<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more