Enum gdbstub::stub::run_blocking::Event
source · pub enum Event<StopReason> {
IncomingData(u8),
TargetStopped(StopReason),
}
Expand description
Returned by the wait_for_stop_reason
closure in
GdbStub::run_blocking
Variants§
IncomingData(u8)
GDB Client sent data while the target was running.
TargetStopped(StopReason)
The target has stopped.
Auto Trait Implementations§
impl<StopReason> RefUnwindSafe for Event<StopReason>where
StopReason: RefUnwindSafe,
impl<StopReason> Send for Event<StopReason>where
StopReason: Send,
impl<StopReason> Sync for Event<StopReason>where
StopReason: Sync,
impl<StopReason> Unpin for Event<StopReason>where
StopReason: Unpin,
impl<StopReason> UnwindSafe for Event<StopReason>where
StopReason: UnwindSafe,
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