pub(crate) struct Notifier {
read: Async<UnixStream>,
write: UnixStream,
}
Expand description
The notifier that uses an asynchronous pipe.
Fields§
§read: Async<UnixStream>
The read end of the signal pipe.
write: UnixStream
The write end of the signal pipe.
Implementations§
Source§impl Notifier
impl Notifier
Trait Implementations§
Source§impl AsFd for Notifier
impl AsFd for Notifier
Source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more
Auto Trait Implementations§
impl Freeze for Notifier
impl RefUnwindSafe for Notifier
impl Send for Notifier
impl Sync for Notifier
impl Unpin for Notifier
impl UnwindSafe for Notifier
Blanket Implementations§
Source§impl<T> AsSource for Twhere
T: AsFd,
impl<T> AsSource for Twhere
T: AsFd,
Source§fn source(&self) -> BorrowedFd<'_>
fn source(&self) -> BorrowedFd<'_>
Returns the borrowed file descriptor.
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