pub fn acquire(&self) -> io::Result<Acquired> {
        let data = self.inner.acquire()?;
        Ok(Acquired {
            client: self.inner.clone(),
            data: data,
        })
    }
/// Acquires a token from this jobserver client.
///
/// This function will block the calling thread until a new token can be
/// acquired from the jobserver.
///
/// # Return value
///
/// On successful acquisition of a token an instance of `Acquired` is
/// returned. This structure, when dropped, will release the token back to
/// the jobserver. It's recommended to avoid leaking this value.
///
/// # Errors
///
/// If an I/O error happens while acquiring a token then this function will
/// return immediately with the error. If an error is returned then a token
/// was not acquired.
Acquires a token from this jobserver client.
This function will block the calling thread until a new token can be
acquired from the jobserver.
Acquires a token from this jobserver client . This function will block the calling thread until a new token can be acquired from the jobserver .
pub fn acquire(&self) -> io::Result<Acquired> {
        let data = self.inner.acquire()?;
        Ok(Acquired {
            client: self.inner.clone(),
            data: data,
        })
    }
pub fn acquire ( & self ) -> io :: Result < Acquired > { let data = self . inner . acquire ( ) ? ; Ok ( Acquired { client : self . inner . clone ( ) , data : data , } ) }
Acquires a token from this jobserver client.
Acquires a token from this jobserver client .
&self
return value
On successful acquisition of a token an instance of `Acquired` is
returned. This structure, when dropped, will release the token back to
the jobserver. It's recommended to avoid leaking this value.
On successful acquisition of a token an instance of ` Acquired ` is returned . This structure when dropped will release the token back to the jobserver . It ' s recommended to avoid leaking this value .
errors
If an I/O error happens while acquiring a token then this function will
return immediately with the error. If an error is returned then a token
was not acquired.
If an I / O error happens while acquiring a token then this function will return immediately with the error . If an error is returned then a token was not acquired .