pub enum PoolAction {
None,
Start(&'static TaskNode),
Stop(&'static TaskNode),
}Expand description
Action the supervisor should take for a pool member.
Variants§
None
No action.
Start(&'static TaskNode)
Start this member.
Stop(&'static TaskNode)
Stop this (running, idle) pool member.
Auto Trait Implementations§
impl !RefUnwindSafe for PoolAction
impl !UnwindSafe for PoolAction
impl Freeze for PoolAction
impl Send for PoolAction
impl Sync for PoolAction
impl Unpin for PoolAction
impl UnsafeUnpin for PoolAction
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