Struct pgdo::runtime::strategy::RuntimesOnPlatform
source · 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 copy 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