pub struct GdbRequest {
pub board: Option<String>,
pub port: u16,
}Expand description
Which board to debug, and where to listen for the client.
A GDB session owns the chip’s clock for as long as the client is attached,
so one session is served at a time: board says which chip, and its
absence picks the first board whose backend has a debug target.
Fields§
§board: Option<String>§port: u16Trait Implementations§
Source§impl Clone for GdbRequest
impl Clone for GdbRequest
Auto Trait Implementations§
impl Forget for GdbRequest
impl Freeze for GdbRequest
impl Move for GdbRequest
impl RefUnwindSafe for GdbRequest
impl Send for GdbRequest
impl Sync for GdbRequest
impl Unpin for GdbRequest
impl UnsafeUnpin for GdbRequest
impl UnwindSafe for GdbRequest
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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