pub enum InstallSource {
Prebuilt,
BuildHost,
Local {
path: PathBuf,
},
}Expand description
How a plugin got installed.
Variants§
Prebuilt
Prebuilt artifact downloaded from GitHub Releases.
BuildHost
Compiled locally by cargo build (the default path).
Local
Compiled from a checkout on this machine.
The path is kept because it is what update rebuilds from: a plugin that was
installed from a directory has no registry to look up, and rebuilding the same
directory is what updating it means.
Trait Implementations§
Source§impl Clone for InstallSource
impl Clone for InstallSource
Source§impl Debug for InstallSource
impl Debug for InstallSource
Source§impl Default for InstallSource
impl Default for InstallSource
Source§impl<'de> Deserialize<'de> for InstallSource
impl<'de> Deserialize<'de> for InstallSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InstallSource
Source§impl PartialEq for InstallSource
impl PartialEq for InstallSource
Source§impl Serialize for InstallSource
impl Serialize for InstallSource
impl StructuralPartialEq for InstallSource
Auto Trait Implementations§
impl Freeze for InstallSource
impl RefUnwindSafe for InstallSource
impl Send for InstallSource
impl Sync for InstallSource
impl Unpin for InstallSource
impl UnsafeUnpin for InstallSource
impl UnwindSafe for InstallSource
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