pub struct ReloadConfigReport {
pub id: PluginId,
pub build: ConfigBuildStatus,
}Expand description
The detailed outcome of a reload_config —
enough for the user to see what happened and, on a build failure, the
compiler error.
Fields§
§id: PluginIdThe host id of the (re)loaded init plugin.
build: ConfigBuildStatusHow the build went.
Implementations§
Source§impl ReloadConfigReport
impl ReloadConfigReport
Sourcepub fn applied_new_config(&self) -> bool
pub fn applied_new_config(&self) -> bool
Did the edited init.rs actually take effect? false when the build
failed and the previous artifact is what is running.
Trait Implementations§
Source§impl Clone for ReloadConfigReport
impl Clone for ReloadConfigReport
Source§fn clone(&self) -> ReloadConfigReport
fn clone(&self) -> ReloadConfigReport
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 moreAuto Trait Implementations§
impl Freeze for ReloadConfigReport
impl RefUnwindSafe for ReloadConfigReport
impl Send for ReloadConfigReport
impl Sync for ReloadConfigReport
impl Unpin for ReloadConfigReport
impl UnsafeUnpin for ReloadConfigReport
impl UnwindSafe for ReloadConfigReport
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more