pub struct ReloadFailure {
pub origin: ReloadOrigin,
pub stage: ReloadStage,
pub error: ContentError,
pub context_truncated: bool,
}Expand description
One retained failure; the diagnostic stores no failed source text or history.
Fields§
§origin: ReloadOriginThe input channel responsible for the failure.
stage: ReloadStageThe operation that failed.
error: ContentErrorOriginal error kind and source span. Context is clipped on a UTF-8
boundary to MAX_RELOAD_CONTEXT_BYTES; native read errors include the
path in this context. Use context_truncated when displaying it.
context_truncated: boolWhether any error context was omitted from this diagnostic.
Trait Implementations§
Source§impl Clone for ReloadFailure
impl Clone for ReloadFailure
Source§fn clone(&self) -> ReloadFailure
fn clone(&self) -> ReloadFailure
Returns a duplicate of the value. Read more
1.0.0 · 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 ReloadFailure
impl Debug for ReloadFailure
Source§impl PartialEq for ReloadFailure
impl PartialEq for ReloadFailure
impl Eq for ReloadFailure
impl StructuralPartialEq for ReloadFailure
Auto Trait Implementations§
impl Freeze for ReloadFailure
impl RefUnwindSafe for ReloadFailure
impl Send for ReloadFailure
impl Sync for ReloadFailure
impl Unpin for ReloadFailure
impl UnwindSafe for ReloadFailure
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