pub struct CloseSentinel { /* private fields */ }Expand description
A sentinel that represents a gnuplot waiting to close.
Implementations§
Source§impl CloseSentinel
impl CloseSentinel
Sourcepub fn wait(&mut self) -> Result<ExitStatus>
pub fn wait(&mut self) -> Result<ExitStatus>
Waits until the gnuplot process exits. See std::process::Child::wait.
Sourcepub fn try_wait(&mut self) -> Result<Option<ExitStatus>>
pub fn try_wait(&mut self) -> Result<Option<ExitStatus>>
Waits until the gnuplot process exits. See
std::process::Child::try_wait.
Trait Implementations§
Source§impl Drop for CloseSentinel
impl Drop for CloseSentinel
Auto Trait Implementations§
impl Freeze for CloseSentinel
impl RefUnwindSafe for CloseSentinel
impl Send for CloseSentinel
impl Sync for CloseSentinel
impl Unpin for CloseSentinel
impl UnsafeUnpin for CloseSentinel
impl UnwindSafe for CloseSentinel
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