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
Source§fn clone(&self) -> GdbRequest
fn clone(&self) -> GdbRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Forget for GdbRequest
impl Freeze for GdbRequest
impl Move for GdbRequest
impl RefUnwindSafe for GdbRequest
impl Send for GdbRequestwhere
RawVecInner: Send,
impl Sync for GdbRequestwhere
RawVecInner: Sync,
impl Unpin for GdbRequest
impl UnsafeUnpin for GdbRequest
impl UnwindSafe for GdbRequestwhere
RawVecInner: 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> 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