pub struct Builder<R, T> { /* private fields */ }Implementations§
Source§impl<R, T> Builder<R, T>where
R: RegisterTask<T> + 'static,
T: TaskHandle + 'static,
impl<R, T> Builder<R, T>where
R: RegisterTask<T> + 'static,
T: TaskHandle + 'static,
pub fn new(registry: R, abort_poll_interval: Duration) -> Self
pub fn action<B>(&self, behavior: B) -> Action<R, T, B>where
B: ActionBehavior + 'static,
pub fn action_box(&self, behavior: impl ActionBehavior + 'static) -> BoxNode
pub fn condition_box( &self, behavior: impl ConditionBehavior + 'static, ) -> BoxNode
Trait Implementations§
Auto Trait Implementations§
impl<R, T> Freeze for Builder<R, T>
impl<R, T> RefUnwindSafe for Builder<R, T>where
T: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, T> Send for Builder<R, T>
impl<R, T> Sync for Builder<R, T>
impl<R, T> Unpin for Builder<R, T>where
T: Unpin,
impl<R, T> UnsafeUnpin for Builder<R, T>
impl<R, T> UnwindSafe for Builder<R, T>where
R: RefUnwindSafe,
T: UnwindSafe,
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