#[non_exhaustive]pub enum StartError {
InvalidConfiguration(ConfigurationError),
OperationIdExhausted,
Delivery(DeliveryError),
}Expand description
Failure before a usable progress operation can be returned.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidConfiguration(ConfigurationError)
Fixed operation metadata is invalid.
OperationIdExhausted
The process-local operation ID space is exhausted.
Delivery(DeliveryError)
Started was attempted but rejected by the reporter.
Trait Implementations§
Source§impl Clone for StartError
impl Clone for StartError
Source§fn clone(&self) -> StartError
fn clone(&self) -> StartError
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 moreSource§impl Debug for StartError
impl Debug for StartError
Source§impl Display for StartError
impl Display for StartError
Source§impl Error for StartError
impl Error for StartError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the nested configuration or delivery failure.
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<ConfigurationError> for StartError
impl From<ConfigurationError> for StartError
Source§fn from(error: ConfigurationError) -> Self
fn from(error: ConfigurationError) -> Self
Converts configuration validation into a start failure.
Source§impl From<EmissionError> for StartError
impl From<EmissionError> for StartError
Source§fn from(error: EmissionError) -> Self
fn from(error: EmissionError) -> Self
Converts the only possible start-time emission failures.
Auto Trait Implementations§
impl !RefUnwindSafe for StartError
impl !UnwindSafe for StartError
impl Freeze for StartError
impl Send for StartError
impl Sync for StartError
impl Unpin for StartError
impl UnsafeUnpin for StartError
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