pub struct Choreography {
pub channels: Vec<Channel>,
pub nets: Vec<ControlNet>,
pub ii: usize,
pub control_hops: usize,
pub max_scalar_occupancy: usize,
pub scalar_link_budget: usize,
pub control_routed_statically: bool,
}Expand description
The synthesized control plane of a metapipeline.
Fields§
§channels: Vec<Channel>§nets: Vec<ControlNet>§ii: usizeThe pipeline’s initiation interval — the rate the credits are sized for.
control_hops: usizeHops summed over every control net.
max_scalar_occupancy: usizeMost control nets incident on any one stage (its control ports must carry them).
scalar_link_budget: usizeThe scalar links a switch provides (Spade slink).
control_routed_statically: boolWhether the control plane fits that budget.
Trait Implementations§
Source§impl Clone for Choreography
impl Clone for Choreography
Source§fn clone(&self) -> Choreography
fn clone(&self) -> Choreography
Returns a duplicate of the value. Read more
1.0.0 · 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 Choreography
impl Debug for Choreography
Source§impl PartialEq for Choreography
impl PartialEq for Choreography
Source§impl Serialize for Choreography
impl Serialize for Choreography
impl StructuralPartialEq for Choreography
Auto Trait Implementations§
impl Freeze for Choreography
impl RefUnwindSafe for Choreography
impl Send for Choreography
impl Sync for Choreography
impl Unpin for Choreography
impl UnsafeUnpin for Choreography
impl UnwindSafe for Choreography
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.