pub struct FromEnv {
pub client: Result<Client, FromEnvError>,
pub var: Option<(&'static str, OsString)>,
}
Expand description
Return type for Client::from_env_ext
function.
Fields§
§client: Result<Client, FromEnvError>
Result of trying to get jobserver client from env.
var: Option<(&'static str, OsString)>
Name and value of the environment variable.
None
if no relevant environment variable is found.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FromEnv
impl !RefUnwindSafe for FromEnv
impl Send for FromEnv
impl Sync for FromEnv
impl Unpin for FromEnv
impl !UnwindSafe for FromEnv
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