Skip to main content

Fabric

Trait Fabric 

Source
pub trait Fabric<T>: GetEntity + Display
where T: SimObject + Routable,
{ // Required methods fn connect_port_egress_i( &self, i: usize, port_state: PortStateResult<T>, ) -> SimResult; fn port_ingress_i(&self, i: usize) -> PortStateResult<T>; fn col_row_port_to_fabric_port_index( &self, col: usize, row: usize, port: usize, ) -> usize; }

Required Methods§

Source

fn connect_port_egress_i( &self, i: usize, port_state: PortStateResult<T>, ) -> SimResult

Source

fn port_ingress_i(&self, i: usize) -> PortStateResult<T>

Source

fn col_row_port_to_fabric_port_index( &self, col: usize, row: usize, port: usize, ) -> usize

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> Fabric<T> for FunctionalFabric<T>
where T: SimObject + Routable,

Source§

impl<T> Fabric<T> for RoutedFabric<T>
where T: SimObject + Routable,