pub struct EventFuture { /* private fields */ }Expand description
A future that represents asynchronous execution of the debuggee until the next debug event pausing execution.
When complete, yields the resulting debug event. Representation of an async debug event that the debugger is waiting on.
Cancel-safety: the non-cancel-safe OpaqueDebugger async methods
are called inside an async move block that owns the debugger.
ready() merely polls this stored future, which is always safe to
re-poll after cancelation. The debugger is returned in the Done
state and extracted by finish().
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventFuture
impl !RefUnwindSafe for EventFuture
impl Send for EventFuture
impl !Sync for EventFuture
impl Unpin for EventFuture
impl UnsafeUnpin for EventFuture
impl !UnwindSafe for EventFuture
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
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self file descriptor. Read more