pub enum ProgressError {
Limit,
Permission,
Internal {
source: Error,
},
}
Variants§
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 description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for ProgressError
impl ErrorCompat for ProgressError
§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source
. Read moreSource§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 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(value: ProgressError) -> Self
fn from(value: ProgressError) -> Self
Converts to this type from the input type.
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
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> 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.