pub struct Config {
pub project: ProjectSection,
pub sim: SimSection,
pub test: Vec<TestSpec>,
pub boards: Vec<BoardSection>,
pub probes: Vec<ProbeSection>,
pub decodes: Vec<DecodeSection>,
}Fields§
§project: ProjectSection§sim: SimSection§test: Vec<TestSpec>§boards: Vec<BoardSection>One entry per development board when the diagram has more than one.
Each board boots its own firmware; [sim] stays the shared defaults
and, in a project with no [[board]], the single board’s settings.
probes: Vec<ProbeSection>Points a run records for a scope or a report.
decodes: Vec<DecodeSection>Protocols a run reads off the probed channels.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Config, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Config, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Configwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<AccessPoint>: Freeze,
PhantomData<ServiceSpec>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<TestSpec>: Freeze,
PhantomData<BoardSection>: Freeze,
PhantomData<ProbeSection>: Freeze,
PhantomData<DecodeSection>: Freeze,
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Configwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<AccessPoint>: UnsafeUnpin,
PhantomData<ServiceSpec>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<TestSpec>: UnsafeUnpin,
PhantomData<BoardSection>: UnsafeUnpin,
PhantomData<ProbeSection>: UnsafeUnpin,
PhantomData<DecodeSection>: UnsafeUnpin,
impl UnwindSafe for Config
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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