pub struct Backends {
pub local: Arc<dyn LocalBackend>,
pub local_available: bool,
pub credentials: Option<Credentials>,
}Expand description
What the two surfaces turned out to be.
Separated from build so that the tests can supply both without a binary
on the machine or a credential in the environment.
Fields§
§local: Arc<dyn LocalBackend>§local_available: boolWhether a usable local backend was found. An absent one is still a backend — it reports the binary as missing — so this is what says whether the surface should be offered.
credentials: Option<Credentials>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Backends
impl !UnwindSafe for Backends
impl Freeze for Backends
impl Send for Backends
impl Sync for Backends
impl Unpin for Backends
impl UnsafeUnpin for Backends
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