pub struct SocketRunnerPool { /* private fields */ }Implementations§
Source§impl SocketRunnerPool
impl SocketRunnerPool
pub async fn new( name: impl Into<String>, cmd: Vec<String>, pool_size: usize, max_in_flight: usize, env: Option<HashMap<String, String>>, cwd: Option<String>, tcp_socket: Option<String>, allowed_hosts: Option<Vec<String>>, response_timeout: Option<Duration>, connect_timeout: Duration, shutdown_term_grace: Duration, capture_output: bool, ) -> Result<Self>
pub async fn close(&self) -> Result<()>
Auto Trait Implementations§
impl !Freeze for SocketRunnerPool
impl !RefUnwindSafe for SocketRunnerPool
impl Send for SocketRunnerPool
impl Sync for SocketRunnerPool
impl Unpin for SocketRunnerPool
impl UnsafeUnpin for SocketRunnerPool
impl !UnwindSafe for SocketRunnerPool
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