pub struct Signal<'process> { /* private fields */ }Expand description
Owns the process signal across executor generations.
Implementations§
Trait Implementations§
Source§impl AsFd for Signal<'_>
impl AsFd for Signal<'_>
Source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more
Source§impl Startup for &mut Signal<'_>
impl Startup for &mut Signal<'_>
Source§fn installed(&self) -> Result<(), InstallError>
fn installed(&self) -> Result<(), InstallError>
Publishes installation readiness or preserves its exact notification failure.
Source§fn observed(&self, _request: Requested<Self>)
fn observed(&self, _request: Requested<Self>)
Observes the registered shutdown source becoming ready.
const INTEREST: Interest = dope_core::dope_sys::engine::register::Interest::Readable
Auto Trait Implementations§
impl<'process> !Freeze for Signal<'process>
impl<'process> !RefUnwindSafe for Signal<'process>
impl<'process> !Send for Signal<'process>
impl<'process> !Sync for Signal<'process>
impl<'process> Forget for Signal<'process>
impl<'process> Unpin for Signal<'process>
impl<'process> UnsafeUnpin for Signal<'process>
impl<'process> UnwindSafe for Signal<'process>
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