pub enum HttpCompositionError {
UnknownPlugin(PluginId),
DuplicateModuleOperation {
plugin: PluginId,
operation_id: String,
},
OperationOwnedByMultiplePlugins {
operation_id: String,
first: PluginId,
second: PluginId,
},
OperationMismatch {
plugin: PluginId,
missing: BTreeSet<String>,
undeclared: BTreeSet<String>,
},
InvalidConfiguration(HttpConfigurationError),
}Variants§
UnknownPlugin(PluginId)
DuplicateModuleOperation
OperationOwnedByMultiplePlugins
OperationMismatch
InvalidConfiguration(HttpConfigurationError)
Trait Implementations§
Source§impl Debug for HttpCompositionError
impl Debug for HttpCompositionError
Source§impl Display for HttpCompositionError
impl Display for HttpCompositionError
Source§impl Error for HttpCompositionError
impl Error for HttpCompositionError
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<HttpConfigurationError> for HttpCompositionError
impl From<HttpConfigurationError> for HttpCompositionError
Source§fn from(source: HttpConfigurationError) -> Self
fn from(source: HttpConfigurationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HttpCompositionError
impl RefUnwindSafe for HttpCompositionError
impl Send for HttpCompositionError
impl Sync for HttpCompositionError
impl Unpin for HttpCompositionError
impl UnsafeUnpin for HttpCompositionError
impl UnwindSafe for HttpCompositionError
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