pub struct GdbStubHandlerEventLoop<DL>{ /* private fields */ }
Trait Implementations§
Source§impl<DL> BlockingEventLoop for GdbStubHandlerEventLoop<DL>
impl<DL> BlockingEventLoop for GdbStubHandlerEventLoop<DL>
Source§type Target = GdbStubHandler<DL>
type Target = GdbStubHandler<DL>
The Target being driven.
Source§type Connection = Box<dyn ConnectionExt<Error = Error>>
type Connection = Box<dyn ConnectionExt<Error = Error>>
Connection being used to drive the target.
Source§type StopReason = BaseStopReason<(), u64>
type StopReason = BaseStopReason<(), u64>
Which variant of the
StopReason
type should be used. Single
threaded targets should use SingleThreadStopReason
, whereas
multi threaded targets should use MultiThreadStopReason
.Source§fn on_interrupt(
_target: &mut Self::Target,
) -> Result<Option<SingleThreadStopReason<u64>>, <GdbStubHandler<DL> as Target>::Error>
fn on_interrupt( _target: &mut Self::Target, ) -> Result<Option<SingleThreadStopReason<u64>>, <GdbStubHandler<DL> as Target>::Error>
Invoked when the GDB client sends a Ctrl-C interrupt. Read more
Source§fn wait_for_stop_reason(
target: &mut Self::Target,
conn: &mut Self::Connection,
) -> Result<Event<SingleThreadStopReason<u64>>, WaitForStopReasonError<<Self::Target as Target>::Error, <Self::Connection as Connection>::Error>>
fn wait_for_stop_reason( target: &mut Self::Target, conn: &mut Self::Connection, ) -> Result<Event<SingleThreadStopReason<u64>>, WaitForStopReasonError<<Self::Target as Target>::Error, <Self::Connection as Connection>::Error>>
Invoked immediately after the target’s
resume
method has been
called. The implementation should block until either the target
reports a stop reason, or if new data was sent over the connection. Read moreSource§impl<DL> Default for GdbStubHandlerEventLoop<DL>where
DL: CellDataProvider + HeaderProvider + ExtensionProvider + Send + Sync + Clone + 'static + Default,
impl<DL> Default for GdbStubHandlerEventLoop<DL>where
DL: CellDataProvider + HeaderProvider + ExtensionProvider + Send + Sync + Clone + 'static + Default,
Source§fn default() -> GdbStubHandlerEventLoop<DL>
fn default() -> GdbStubHandlerEventLoop<DL>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<DL> Freeze for GdbStubHandlerEventLoop<DL>
impl<DL> RefUnwindSafe for GdbStubHandlerEventLoop<DL>where
DL: RefUnwindSafe,
impl<DL> Send for GdbStubHandlerEventLoop<DL>
impl<DL> Sync for GdbStubHandlerEventLoop<DL>
impl<DL> Unpin for GdbStubHandlerEventLoop<DL>where
DL: Unpin,
impl<DL> UnwindSafe for GdbStubHandlerEventLoop<DL>where
DL: 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more