pub struct TraceOptions {
pub ws_addr: String,
pub source: Source,
pub openocd: Option<(String, u16, u32, u32)>,
pub variables: VariableMap,
}Expand description
Options for run_blocking.
Fields§
§ws_addr: StringAddress to bind the WebSocket server on, e.g. 127.0.0.1:7878.
source: SourceWhere SWO bytes come from.
openocd: Option<(String, u16, u32, u32)>Optional OpenOCD telnet setup: (telnet_addr, trace_port, cpu_hz, swo_hz).
variables: VariableMapPort → variable map from [[trace.variables]].
Auto Trait Implementations§
impl Freeze for TraceOptions
impl RefUnwindSafe for TraceOptions
impl Send for TraceOptions
impl Sync for TraceOptions
impl Unpin for TraceOptions
impl UnsafeUnpin for TraceOptions
impl UnwindSafe for TraceOptions
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