pub struct Shutdown<'run> { /* private fields */ }Expand description
Shutdown source borrowed from the exact process run that owns this worker.
A proof issued by the standalone shutdown API cannot be retagged as a production process proof.
Implementations§
Trait Implementations§
Source§impl AsFd for Shutdown<'_>
impl AsFd for Shutdown<'_>
Source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more
Source§impl<'run> Build for ReadySource<'run>
impl<'run> Build for ReadySource<'run>
Auto Trait Implementations§
impl<'run> !RefUnwindSafe for Shutdown<'run>
impl<'run> !Send for Shutdown<'run>
impl<'run> !Sync for Shutdown<'run>
impl<'run> !UnwindSafe for Shutdown<'run>
impl<'run> Freeze for Shutdown<'run>
impl<'run> Unpin for Shutdown<'run>
impl<'run> UnsafeUnpin for Shutdown<'run>
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