pub enum InstallStrategy {
BuildFromSource,
DownloadPrebuilt,
}Expand description
Supported strategies for installing a tool.
Variants§
Trait Implementations§
Source§impl Clone for InstallStrategy
impl Clone for InstallStrategy
Source§fn clone(&self) -> InstallStrategy
fn clone(&self) -> InstallStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InstallStrategy
Source§impl Debug for InstallStrategy
impl Debug for InstallStrategy
Source§impl Default for InstallStrategy
impl Default for InstallStrategy
Source§fn default() -> InstallStrategy
fn default() -> InstallStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstallStrategy
impl<'de> Deserialize<'de> for InstallStrategy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstallStrategy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstallStrategy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InstallStrategy
impl PartialEq for InstallStrategy
Source§fn eq(&self, other: &InstallStrategy) -> bool
fn eq(&self, other: &InstallStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InstallStrategy
impl Serialize for InstallStrategy
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InstallStrategy
Auto Trait Implementations§
impl Freeze for InstallStrategy
impl RefUnwindSafe for InstallStrategy
impl Send for InstallStrategy
impl Sync for InstallStrategy
impl Unpin for InstallStrategy
impl UnsafeUnpin for InstallStrategy
impl UnwindSafe for InstallStrategy
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