A client of a jobserver
This structure is the main type exposed by this library, and is where interaction to a jobserver is configured through. Clients are either created from scratch in which case the internal semphore is initialied on the spot, or a client is created from the environment to connect to a jobserver already created.
Some usage examples can be found in the crate documentation for using a client.
Note that a
Client implements the
Clone trait, and all instances of a
Client refer to the same jobserver instance.
Auto Trait Implementations
impl RefUnwindSafe for Client
impl UnwindSafe for Client
pub fn borrow_mut(&mut self) -> &mut Tⓘ[src]
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.