pub struct AvailabilityStatus {
pub available: bool,
pub reason: Option<String>,
}Expand description
Runtime availability state for an executor backend.
This is intended for preflight checks such as “is the provider CLI installed and usable in the current environment?”.
Fields§
§available: boolWhether the executor is currently available.
reason: Option<String>Optional human-readable reason for unavailable (or additional diagnostics).
Trait Implementations§
Source§impl Clone for AvailabilityStatus
impl Clone for AvailabilityStatus
Source§fn clone(&self) -> AvailabilityStatus
fn clone(&self) -> AvailabilityStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AvailabilityStatus
impl RefUnwindSafe for AvailabilityStatus
impl Send for AvailabilityStatus
impl Sync for AvailabilityStatus
impl Unpin for AvailabilityStatus
impl UnsafeUnpin for AvailabilityStatus
impl UnwindSafe for AvailabilityStatus
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