pub enum Conflict {
PinCollision {
pin: Pin,
users: Vec<SignalRef>,
},
AfMismatch {
pin: Pin,
peripheral: String,
signal: String,
},
InvalidPin {
peripheral: String,
key: String,
value: String,
},
MissingPin {
peripheral: String,
key: String,
signal: String,
},
ClockDomainDisabled {
peripheral: String,
bus: Bus,
},
PeripheralUnavailable {
peripheral: String,
family: String,
},
}Expand description
A single resolved conflict. Every variant is an error (it makes the config
un-buildable); nucleus check exits non-zero if any are present.
Variants§
PinCollision
Two signals assigned to the same physical pin.
AfMismatch
A pin that does not expose the requested peripheral signal on this MCU.
InvalidPin
A pin role whose string value is not a valid pin name.
MissingPin
A required pin role left unset.
ClockDomainDisabled
A peripheral configured while its bus clock domain is disabled.
A peripheral instance that does not exist on the selected MCU family.
Trait Implementations§
impl Eq for Conflict
impl StructuralPartialEq for Conflict
Auto Trait Implementations§
impl Freeze for Conflict
impl RefUnwindSafe for Conflict
impl Send for Conflict
impl Sync for Conflict
impl Unpin for Conflict
impl UnsafeUnpin for Conflict
impl UnwindSafe for Conflict
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.