Struct pgdo::runtime::strategy::StrategySet
source · pub struct StrategySet(/* private fields */);Expand description
Combine multiple runtime strategies, in order of preference.
Trait Implementations§
source§impl Default for StrategySet
impl Default for StrategySet
Select runtimes from on PATH followed by platform-specific runtimes.
source§impl Strategy for StrategySet
impl Strategy for StrategySet
source§fn runtimes(&self) -> Runtimes<'_>
fn runtimes(&self) -> Runtimes<'_>
Runtimes known to all strategies, in the same order as each strategy returns them.
Note that runtimes are deduplicated by version number, i.e. if a runtime with the same version number appears in multiple strategies, it will only be returned the first time it is seen.
Auto Trait Implementations§
impl RefUnwindSafe for StrategySet
impl !Send for StrategySet
impl !Sync for StrategySet
impl Unpin for StrategySet
impl !UnwindSafe for StrategySet
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