pub struct RunnerPool { /* private fields */ }Implementations§
Source§impl RunnerPool
impl RunnerPool
pub fn new(config: PoolConfig, spawn: RunnerSpawn) -> Self
pub async fn checkout(&self) -> Result<RunnerLease, ToolError>
pub async fn release(&self, lease: RunnerLease, disposition: RunnerDisposition)
pub fn config(&self) -> PoolConfig
pub fn spawn(&self) -> &RunnerSpawn
Auto Trait Implementations§
impl !Freeze for RunnerPool
impl !RefUnwindSafe for RunnerPool
impl Send for RunnerPool
impl Sync for RunnerPool
impl Unpin for RunnerPool
impl UnsafeUnpin for RunnerPool
impl !UnwindSafe for RunnerPool
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