pub struct TraceSource {
pub kind: String,
pub plugin: String,
pub config: PathBuf,
pub key: String,
}Expand description
A config that names a traced file or a traced dependency, and the key that names it.
Fields§
§kind: StringThe mechanism that names the file or the dependency:
module-federation. The set is open.
plugin: StringThe plugin that read the config, as it labels itself:
module-federation for a standalone module-federation.config.*,
or the bundler plugin (webpack, rspack, rsbuild, vite,
nextjs) that read the same options inline from its own config.
config: PathBufThe file that names the file or the dependency, relative to the project root: the config file, or the source file of a Module Federation runtime call.
key: StringThe config key or the runtime function that names the file or the
dependency: exposes for an exposed file, remotes for a remote
alias, and registerRemotes, loadRemote, init or createInstance
for a remote that a runtime call names. The set is open.
Trait Implementations§
Source§impl Clone for TraceSource
impl Clone for TraceSource
Source§impl Debug for TraceSource
impl Debug for TraceSource
impl Eq for TraceSource
Source§impl PartialEq for TraceSource
impl PartialEq for TraceSource
Source§impl Serialize for TraceSource
impl Serialize for TraceSource
impl StructuralPartialEq for TraceSource
Auto Trait Implementations§
impl Freeze for TraceSource
impl RefUnwindSafe for TraceSource
impl Send for TraceSource
impl Sync for TraceSource
impl Unpin for TraceSource
impl UnsafeUnpin for TraceSource
impl UnwindSafe for TraceSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.