pub enum EntryPointSource {
PackageJsonMain,
PackageJsonModule,
PackageJsonExports,
PackageJsonBin,
PackageJsonScript,
Plugin {
name: String,
},
TestFile,
DefaultIndex,
ManualEntry,
InfrastructureConfig,
DynamicallyLoaded,
}Expand description
Where an entry point was discovered from.
Variants§
PackageJsonMain
The main field in package.json.
PackageJsonModule
The module field in package.json.
PackageJsonExports
The exports field in package.json.
PackageJsonBin
The bin field in package.json.
PackageJsonScript
A script command in package.json.
Plugin
Detected by a framework plugin.
TestFile
A test file (e.g., *.test.ts, *.spec.ts).
DefaultIndex
A default index file (e.g., src/index.ts).
ManualEntry
Manually configured in fallow config.
InfrastructureConfig
Discovered from infrastructure config files (Dockerfile, Procfile, fly.toml).
DynamicallyLoaded
Declared in dynamicallyLoaded config as a runtime-loaded file.
Trait Implementations§
Source§impl Clone for EntryPointSource
impl Clone for EntryPointSource
Source§impl Debug for EntryPointSource
impl Debug for EntryPointSource
Auto Trait Implementations§
impl Freeze for EntryPointSource
impl RefUnwindSafe for EntryPointSource
impl Send for EntryPointSource
impl Sync for EntryPointSource
impl Unpin for EntryPointSource
impl UnsafeUnpin for EntryPointSource
impl UnwindSafe for EntryPointSource
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> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more