pub enum AsterRuntimeError {
MissingService,
DuplicateService,
ComponentGraph {
source: RuntimeComponentGraphError,
},
Startup {
report: StartupReport,
},
}Expand description
Error returned when runtime assembly or required startup phases fail.
Variants§
MissingService
No service component was registered.
DuplicateService
More than one service component was registered.
ComponentGraph
Runtime component dependencies cannot be resolved.
Fields
§
source: RuntimeComponentGraphErrorUnderlying component graph validation error.
Startup
A required startup phase aborted runtime startup.
Fields
§
report: StartupReportStartup report that contains the failing phase.
Trait Implementations§
Source§impl Clone for AsterRuntimeError
impl Clone for AsterRuntimeError
Source§fn clone(&self) -> AsterRuntimeError
fn clone(&self) -> AsterRuntimeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsterRuntimeError
impl Debug for AsterRuntimeError
Source§impl Display for AsterRuntimeError
impl Display for AsterRuntimeError
Source§impl Error for AsterRuntimeError
impl Error for AsterRuntimeError
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 PartialEq for AsterRuntimeError
impl PartialEq for AsterRuntimeError
Source§fn eq(&self, other: &AsterRuntimeError) -> bool
fn eq(&self, other: &AsterRuntimeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AsterRuntimeError
impl StructuralPartialEq for AsterRuntimeError
Auto Trait Implementations§
impl Freeze for AsterRuntimeError
impl RefUnwindSafe for AsterRuntimeError
impl Send for AsterRuntimeError
impl Sync for AsterRuntimeError
impl Unpin for AsterRuntimeError
impl UnsafeUnpin for AsterRuntimeError
impl UnwindSafe for AsterRuntimeError
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.