pub enum ReloadError {
Artifact(ArtifactError),
Build(BoxError),
Shutdown(Error),
}Expand description
A failure while loading a new build. The previous generation keeps serving.
Variants§
Trait Implementations§
Source§impl Debug for ReloadError
impl Debug for ReloadError
Source§impl Display for ReloadError
impl Display for ReloadError
Source§impl Error for ReloadError
impl Error for ReloadError
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<ArtifactError> for ReloadError
impl From<ArtifactError> for ReloadError
Source§fn from(source: ArtifactError) -> Self
fn from(source: ArtifactError) -> Self
Converts to this type from the input type.
Source§impl From<ReloadError> for ServerError
impl From<ReloadError> for ServerError
Source§fn from(source: ReloadError) -> Self
fn from(source: ReloadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ReloadError
impl !UnwindSafe for ReloadError
impl Forget for ReloadError
impl Freeze for ReloadError
impl Move for ReloadError
impl Send for ReloadError
impl Sync for ReloadError
impl Unpin for ReloadError
impl UnsafeUnpin for ReloadError
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