pub enum ProgressError {
Limit {
meta: Meta,
},
Permission {
meta: Meta,
},
Internal {
source: Error,
meta: Meta,
},
}Expand description
Errors that can occur when sending progress updates.
Variants§
Limit
Fields
§
meta: MetaCaptured call-site metadata
Permission
Fields
§
meta: MetaCaptured call-site metadata
Internal
Implementations§
Trait Implementations§
Source§impl Debug for ProgressError
impl Debug for ProgressError
Source§impl Display for ProgressError
impl Display for ProgressError
Source§impl Error for ProgressError
impl Error for ProgressError
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<AbortReason> for ProgressError
impl From<AbortReason> for ProgressError
Source§fn from(value: AbortReason) -> Self
fn from(value: AbortReason) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ProgressError
impl From<Error> for ProgressError
Source§impl From<ProgressError> for AnyError
impl From<ProgressError> for AnyError
Source§fn from(value: ProgressError) -> AnyError
fn from(value: ProgressError) -> AnyError
Converts to this type from the input type.
Source§impl From<ProgressError> for Error
impl From<ProgressError> for Error
Source§fn from(value: ProgressError) -> Self
fn from(value: ProgressError) -> Self
Converts to this type from the input type.
Source§impl From<ProgressError> for ExportBaoError
impl From<ProgressError> for ExportBaoError
Source§fn from(source: ProgressError) -> Self
fn from(source: ProgressError) -> Self
Converts to this type from the input type.
Source§impl From<RecvError> for ProgressError
impl From<RecvError> for ProgressError
Source§impl From<RecvError> for ProgressError
impl From<RecvError> for ProgressError
Source§impl From<SendError> for ProgressError
impl From<SendError> for ProgressError
Source§impl HasErrorCode for ProgressError
impl HasErrorCode for ProgressError
Source§impl StackError for ProgressError
impl StackError for ProgressError
Source§fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
Returns this error as a std error reference.
Source§fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
Returns this error as a std error.
Source§fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
Returns the next source in the chain, if any.
Source§fn is_transparent(&self) -> bool
fn is_transparent(&self) -> bool
Returns whether this error is transparent and should be skipped in reports.
Auto Trait Implementations§
impl !Freeze for ProgressError
impl !RefUnwindSafe for ProgressError
impl Send for ProgressError
impl Sync for ProgressError
impl Unpin for ProgressError
impl !UnwindSafe for ProgressError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
§type Instrumented = TracedError<E>
type Instrumented = TracedError<E>
The type of the wrapped error after instrumentation
§fn in_current_span(self) -> <E as InstrumentError>::Instrumented
fn in_current_span(self) -> <E as InstrumentError>::Instrumented
Instrument an Error by bundling it with a SpanTrace Read more
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> StackErrorExt for Twhere
T: StackError + 'static,
impl<T> StackErrorExt for Twhere
T: StackError + 'static,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.