Enum gdbstub::stub::DisconnectReason
source · pub enum DisconnectReason {
TargetExited(u8),
TargetTerminated(Signal),
Disconnect,
Kill,
}
Expand description
Describes why the GDB session ended.
Variants§
TargetExited(u8)
Target exited with given status code
TargetTerminated(Signal)
Target terminated with given signal
Disconnect
GDB issued a disconnect command
Kill
GDB issued a kill command
Trait Implementations§
source§impl Clone for DisconnectReason
impl Clone for DisconnectReason
source§fn clone(&self) -> DisconnectReason
fn clone(&self) -> DisconnectReason
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DisconnectReason
impl Debug for DisconnectReason
source§impl PartialEq for DisconnectReason
impl PartialEq for DisconnectReason
source§fn eq(&self, other: &DisconnectReason) -> bool
fn eq(&self, other: &DisconnectReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisconnectReason
impl Eq for DisconnectReason
impl StructuralEq for DisconnectReason
impl StructuralPartialEq for DisconnectReason
Auto Trait Implementations§
impl RefUnwindSafe for DisconnectReason
impl Send for DisconnectReason
impl Sync for DisconnectReason
impl Unpin for DisconnectReason
impl UnwindSafe for DisconnectReason
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