pub struct Arbiter<T>where
T: SimObject,{ /* private fields */ }Implementations§
Source§impl<T> Arbiter<T>where
T: SimObject,
impl<T> Arbiter<T>where
T: SimObject,
pub fn new_and_register_with_renames( engine: &Engine, clock: &Clock, parent: &Rc<Entity>, name: &str, aka: Option<&Aka>, num_rx: usize, policy: Box<dyn Arbitrate<T>>, ) -> Result<Rc<Self>, SimError>
pub fn new_and_register( engine: &Engine, clock: &Clock, parent: &Rc<Entity>, name: &str, num_rx: usize, policy: Box<dyn Arbitrate<T>>, ) -> Result<Rc<Self>, SimError>
pub fn connect_port_tx(&self, port_state: PortStateResult<T>) -> SimResult
pub fn port_rx_i(&self, i: usize) -> PortStateResult<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Arbiter<T>
impl<T> !RefUnwindSafe for Arbiter<T>
impl<T> !Send for Arbiter<T>
impl<T> !Sync for Arbiter<T>
impl<T> Unpin for Arbiter<T>
impl<T> !UnwindSafe for Arbiter<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