pub struct ServiceSet(/* private fields */);Expand description
Service bitset consumed by SafeStop::run.
Mirrors DPR-01 §5.1 ServiceSet semantically; the
authoritative bit positions ratify when the DPR-01 type lands.
Bit positions chosen here are stable for DPR-02a scaffold purposes.
Adding a new service is Specification Required per DPR-01 §5.1 (and DPR-02 §5.4 — the SafeStopSequence mapping table MUST be amended in the same PR per INV-DPR-2-4).
Implementations§
Source§impl ServiceSet
impl ServiceSet
Sourcepub const CODEC_RESET: Self
pub const CODEC_RESET: Self
codec_reset — I2C4 transactions to the WM8994 codec per DPR-02 §5.4.
Sourcepub const SCOPE_PROBES: Self
pub const SCOPE_PROBES: Self
scope_probes — GPIO output pins. Excluded from PeripheralServiceSet
per DPR-02 §3 (GPIO does not require disable sequencing).
Trait Implementations§
Source§impl Clone for ServiceSet
impl Clone for ServiceSet
Source§fn clone(&self) -> ServiceSet
fn clone(&self) -> ServiceSet
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 moreimpl Copy for ServiceSet
Source§impl Debug for ServiceSet
impl Debug for ServiceSet
impl Eq for ServiceSet
Source§impl PartialEq for ServiceSet
impl PartialEq for ServiceSet
Source§fn eq(&self, other: &ServiceSet) -> bool
fn eq(&self, other: &ServiceSet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServiceSet
Auto Trait Implementations§
impl Freeze for ServiceSet
impl RefUnwindSafe for ServiceSet
impl Send for ServiceSet
impl Sync for ServiceSet
impl Unpin for ServiceSet
impl UnsafeUnpin for ServiceSet
impl UnwindSafe for ServiceSet
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