pub struct RuntimesOnPlatform;
Expand description
Find runtimes using platform-specific knowledge.
For example:
- on Debian and Ubuntu, check subdirectories of
/usr/lib/postgresql
. - on macOS, check Homebrew.
More platform-specific knowledge may be added to this strategy in the future.
Implementations§
Trait Implementations§
Source§impl Clone for RuntimesOnPlatform
impl Clone for RuntimesOnPlatform
Source§fn clone(&self) -> RuntimesOnPlatform
fn clone(&self) -> RuntimesOnPlatform
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 moreSource§impl Debug for RuntimesOnPlatform
impl Debug for RuntimesOnPlatform
Source§impl From<RuntimesOnPlatform> for Strategy
impl From<RuntimesOnPlatform> for Strategy
Source§fn from(strategy: RuntimesOnPlatform) -> Self
fn from(strategy: RuntimesOnPlatform) -> Self
Converts the given strategy into a Strategy::Delegated
.
Source§impl StrategyLike for RuntimesOnPlatform
impl StrategyLike for RuntimesOnPlatform
Auto Trait Implementations§
impl Freeze for RuntimesOnPlatform
impl RefUnwindSafe for RuntimesOnPlatform
impl Send for RuntimesOnPlatform
impl Sync for RuntimesOnPlatform
impl Unpin for RuntimesOnPlatform
impl UnwindSafe for RuntimesOnPlatform
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more