Enum pyoxidizerlib::environment::PyOxidizerSource [−][src]
pub enum PyOxidizerSource {
LocalPath {
path: PathBuf,
},
GitUrl {
url: String,
commit: Option<String>,
tag: Option<String>,
},
}Describes the location of the PyOxidizer source files.
Variants
A local filesystem path.
Show fields
Fields of LocalPath
path: PathBufA Git repository somewhere. Defined by a Git remote URL and a commit string.
Implementations
impl PyOxidizerSource[src]
impl PyOxidizerSource[src]pub fn as_pyembed_location(&self) -> PyembedLocation[src]
Determine the location of the pyembed crate given a run-time environment.
If running from a PyOxidizer Git repository, we reference the pyembed crate within the PyOxidizer Git repository. Otherwise we use the pyembed crate from the package registry.
There is room to reference a Git repository+commit. But this isn’t implemented yet.
pub fn version_long(&self) -> String[src]
Obtain a string to be used as the long form version info for the executable.
Trait Implementations
impl Clone for PyOxidizerSource[src]
impl Clone for PyOxidizerSource[src]fn clone(&self) -> PyOxidizerSource[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for PyOxidizerSource[src]
impl Default for PyOxidizerSource[src]Auto Trait Implementations
impl RefUnwindSafe for PyOxidizerSource
impl RefUnwindSafe for PyOxidizerSourceimpl Send for PyOxidizerSource
impl Send for PyOxidizerSourceimpl Sync for PyOxidizerSource
impl Sync for PyOxidizerSourceimpl Unpin for PyOxidizerSource
impl Unpin for PyOxidizerSourceimpl UnwindSafe for PyOxidizerSource
impl UnwindSafe for PyOxidizerSourceBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized, [src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized, [src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,