pub enum ExecutableBuildError {
Definition(BuildError),
InvalidPluginName {
plugin: String,
},
DuplicateProvider {
plugin: String,
dependency: &'static str,
},
MissingProvider {
plugin: String,
consumer: String,
dependency: &'static str,
},
ProviderCycle {
plugin: String,
dependencies: Vec<&'static str>,
},
InvalidLifetime {
plugin: String,
singleton: &'static str,
shorter_lived_dependency: &'static str,
},
ProviderCompilation {
plugin: String,
dependency: &'static str,
message: String,
},
SingletonProviderFailed {
plugin: String,
dependency: &'static str,
message: String,
},
UnknownProviderOverride {
plugin: Option<String>,
dependency: &'static str,
},
}Expand description
An application-definition or dependency-compilation failure.
Variants§
Definition(BuildError)
InvalidPluginName
DuplicateProvider
MissingProvider
ProviderCycle
InvalidLifetime
ProviderCompilation
SingletonProviderFailed
UnknownProviderOverride
Trait Implementations§
Source§impl Debug for ExecutableBuildError
impl Debug for ExecutableBuildError
Source§impl Display for ExecutableBuildError
impl Display for ExecutableBuildError
Source§impl Error for ExecutableBuildError
impl Error for ExecutableBuildError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<BuildError> for ExecutableBuildError
impl From<BuildError> for ExecutableBuildError
Source§fn from(error: BuildError) -> Self
fn from(error: BuildError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExecutableBuildError
impl RefUnwindSafe for ExecutableBuildError
impl Send for ExecutableBuildError
impl Sync for ExecutableBuildError
impl Unpin for ExecutableBuildError
impl UnsafeUnpin for ExecutableBuildError
impl UnwindSafe for ExecutableBuildError
Blanket Implementations§
Source§impl<T> BackgroundExt for T
impl<T> BackgroundExt for T
fn background(self, task: BackgroundTask) -> Background<Self>
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