pub struct StartupPhaseOutcome<T> {
pub value: T,
pub report: StartupPhaseReport,
}Expand description
Value returned by a startup phase together with its execution report.
Fields§
§value: TValue returned by the product startup phase.
report: StartupPhaseReportReport for the executed phase.
Trait Implementations§
Source§impl<T: Clone> Clone for StartupPhaseOutcome<T>
impl<T: Clone> Clone for StartupPhaseOutcome<T>
Source§fn clone(&self) -> StartupPhaseOutcome<T>
fn clone(&self) -> StartupPhaseOutcome<T>
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<T: Debug> Debug for StartupPhaseOutcome<T>
impl<T: Debug> Debug for StartupPhaseOutcome<T>
Source§impl<T: PartialEq> PartialEq for StartupPhaseOutcome<T>
impl<T: PartialEq> PartialEq for StartupPhaseOutcome<T>
Source§fn eq(&self, other: &StartupPhaseOutcome<T>) -> bool
fn eq(&self, other: &StartupPhaseOutcome<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: Eq> Eq for StartupPhaseOutcome<T>
impl<T> StructuralPartialEq for StartupPhaseOutcome<T>
Auto Trait Implementations§
impl<T> Freeze for StartupPhaseOutcome<T>where
T: Freeze,
impl<T> RefUnwindSafe for StartupPhaseOutcome<T>where
T: RefUnwindSafe,
impl<T> Send for StartupPhaseOutcome<T>where
T: Send,
impl<T> Sync for StartupPhaseOutcome<T>where
T: Sync,
impl<T> Unpin for StartupPhaseOutcome<T>where
T: Unpin,
impl<T> UnsafeUnpin for StartupPhaseOutcome<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for StartupPhaseOutcome<T>where
T: UnwindSafe,
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.