#[non_exhaustive]pub enum DispatchEntry {
Subsystem {
name: String,
share: Option<f64>,
},
Bus {
bus: BusId,
share: Option<f64>,
},
ParticipatingMachines,
}Expand description
One line of a dispatch block.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Subsystem
SUBSYSTEM name [x]: a subsystem, with the number the line states
after it, when it states one.
Bus
BUS n [x]: one bus, with the number the line states after it.
ParticipatingMachines
PARTICIPATING MACHINES.
Trait Implementations§
Source§impl Clone for DispatchEntry
impl Clone for DispatchEntry
Source§fn clone(&self) -> DispatchEntry
fn clone(&self) -> DispatchEntry
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 moreSource§impl Debug for DispatchEntry
impl Debug for DispatchEntry
Source§impl PartialEq for DispatchEntry
impl PartialEq for DispatchEntry
impl StructuralPartialEq for DispatchEntry
Auto Trait Implementations§
impl Freeze for DispatchEntry
impl RefUnwindSafe for DispatchEntry
impl Send for DispatchEntry
impl Sync for DispatchEntry
impl Unpin for DispatchEntry
impl UnsafeUnpin for DispatchEntry
impl UnwindSafe for DispatchEntry
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