pub struct FabricNode<T>where
T: SimObject + Routable,{ /* private fields */ }Implementations§
Source§impl<T> FabricNode<T>where
T: SimObject + Routable,
impl<T> FabricNode<T>where
T: SimObject + Routable,
pub fn new_and_register_with_renames( engine: &Engine, clock: &Clock, parent: &Rc<Entity>, name: &str, aka: Option<&Aka>, node_col: usize, node_row: usize, config: &Rc<FabricConfig>, fabric_algorithm: FabricRoutingAlgorithm, ) -> Result<Rc<Self>, SimError>
pub fn new_and_register( engine: &Engine, clock: &Clock, parent: &Rc<Entity>, name: &str, node_col: usize, node_row: usize, config: &Rc<FabricConfig>, fabric_algorithm: FabricRoutingAlgorithm, ) -> Result<Rc<Self>, SimError>
pub fn connect_port_egress_i( &self, i: usize, port_state: PortStateResult<T>, ) -> SimResult
pub fn port_ingress_i(&self, i: usize) -> PortStateResult<T>
pub fn connect_port_row_minus( &self, port_state: PortStateResult<T>, ) -> SimResult
pub fn connect_port_row_plus(&self, port_state: PortStateResult<T>) -> SimResult
pub fn connect_port_col_minus( &self, port_state: PortStateResult<T>, ) -> SimResult
pub fn connect_port_col_plus(&self, port_state: PortStateResult<T>) -> SimResult
pub fn port_row_minus(&self) -> PortStateResult<T>
pub fn port_row_plus(&self) -> PortStateResult<T>
pub fn port_col_minus(&self) -> PortStateResult<T>
pub fn port_col_plus(&self) -> PortStateResult<T>
Trait Implementations§
Source§impl<T> Display for FabricNode<T>where
T: SimObject + Routable,
impl<T> Display for FabricNode<T>where
T: SimObject + Routable,
Source§impl<T> GetEntity for FabricNode<T>where
T: SimObject + Routable,
impl<T> GetEntity for FabricNode<T>where
T: SimObject + Routable,
Source§impl<T> Runnable for FabricNode<T>where
T: SimObject + Routable,
impl<T> Runnable for FabricNode<T>where
T: SimObject + Routable,
Auto Trait Implementations§
impl<T> !RefUnwindSafe for FabricNode<T>
impl<T> !Send for FabricNode<T>
impl<T> !Sync for FabricNode<T>
impl<T> !UnwindSafe for FabricNode<T>
impl<T> Freeze for FabricNode<T>
impl<T> Unpin for FabricNode<T>
impl<T> UnsafeUnpin for FabricNode<T>
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