Struct rex::manager::RexBuilder
source · pub struct RexBuilder<K>where
K: Rex,{ /* private fields */ }Implementations§
source§impl<K> RexBuilder<K>where
K: Rex,
K::Message: From<TimeoutInput<K>> + TryInto<TimeoutInput<K>>,
<K::Message as TryInto<TimeoutInput<K>>>::Error: Send,
TimeoutManager<K>: NotificationProcessor<K::Message>,
impl<K> RexBuilder<K>where
K: Rex,
K::Message: From<TimeoutInput<K>> + TryInto<TimeoutInput<K>>,
<K::Message as TryInto<TimeoutInput<K>>>::Error: Send,
TimeoutManager<K>: NotificationProcessor<K::Message>,
pub fn new(signal_queue: Arc<SignalQueue<K>>) -> Self
pub fn with_sm<SM: StateMachine<K> + 'static>(self, state_machine: SM) -> Self
pub fn with_np<NP: NotificationProcessor<K::Message> + 'static>( self, processor: NP ) -> Self
pub fn with_boxed_np( self, processor: Box<dyn NotificationProcessor<K::Message>> ) -> Self
pub fn with_timeout_manager( self, timeout_topic: <K::Message as RexMessage>::Topic ) -> Self
pub fn with_tick_rate(self, tick_rate: Duration) -> Self
pub fn build_and_init(self) -> (SmContext<K>, AbortHandle)
Auto Trait Implementations§
impl<K> !RefUnwindSafe for RexBuilder<K>
impl<K> Send for RexBuilder<K>
impl<K> Sync for RexBuilder<K>
impl<K> Unpin for RexBuilder<K>
impl<K> !UnwindSafe for RexBuilder<K>
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