pub enum XMLEditorError {
MissingElement(MissingElementError),
UnexpectedElementType {
expected: &'static str,
found: String,
},
InvalidValue(InvalidValueError),
EditXMLError(EditXMLError),
ValidationError {
pom_type: &'static str,
error: String,
},
}
Variants§
MissingElement(MissingElementError)
UnexpectedElementType
InvalidValue(InvalidValueError)
EditXMLError(EditXMLError)
ValidationError
Trait Implementations§
Source§impl Debug for XMLEditorError
impl Debug for XMLEditorError
Source§impl Display for XMLEditorError
impl Display for XMLEditorError
Source§impl Error for XMLEditorError
impl Error for XMLEditorError
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<DependencyBuilderError> for XMLEditorError
impl From<DependencyBuilderError> for XMLEditorError
Source§fn from(value: DependencyBuilderError) -> Self
fn from(value: DependencyBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<DeveloperBuilderError> for XMLEditorError
impl From<DeveloperBuilderError> for XMLEditorError
Source§fn from(value: DeveloperBuilderError) -> Self
fn from(value: DeveloperBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<DistributionRepositoryBuilderError> for XMLEditorError
impl From<DistributionRepositoryBuilderError> for XMLEditorError
Source§fn from(value: DistributionRepositoryBuilderError) -> Self
fn from(value: DistributionRepositoryBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<EditXMLError> for XMLEditorError
impl From<EditXMLError> for XMLEditorError
Source§impl From<InvalidValueError> for XMLEditorError
impl From<InvalidValueError> for XMLEditorError
Source§fn from(source: InvalidValueError) -> Self
fn from(source: InvalidValueError) -> Self
Converts to this type from the input type.
Source§impl From<MirrorBuilderError> for XMLEditorError
impl From<MirrorBuilderError> for XMLEditorError
Source§fn from(value: MirrorBuilderError) -> Self
fn from(value: MirrorBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<MissingElementError> for XMLEditorError
impl From<MissingElementError> for XMLEditorError
Source§fn from(source: MissingElementError) -> Self
fn from(source: MissingElementError) -> Self
Converts to this type from the input type.
Source§impl From<ParentBuilderError> for XMLEditorError
impl From<ParentBuilderError> for XMLEditorError
Source§fn from(value: ParentBuilderError) -> Self
fn from(value: ParentBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<PluginBuilderError> for XMLEditorError
impl From<PluginBuilderError> for XMLEditorError
Source§fn from(value: PluginBuilderError) -> Self
fn from(value: PluginBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryBuilderError> for XMLEditorError
impl From<RepositoryBuilderError> for XMLEditorError
Source§fn from(value: RepositoryBuilderError) -> Self
fn from(value: RepositoryBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<ScmBuilderError> for XMLEditorError
impl From<ScmBuilderError> for XMLEditorError
Source§fn from(value: ScmBuilderError) -> Self
fn from(value: ScmBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<ServerBuilderError> for XMLEditorError
impl From<ServerBuilderError> for XMLEditorError
Source§fn from(value: ServerBuilderError) -> Self
fn from(value: ServerBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<SubRepositoryRulesBuilderError> for XMLEditorError
impl From<SubRepositoryRulesBuilderError> for XMLEditorError
Source§fn from(value: SubRepositoryRulesBuilderError) -> Self
fn from(value: SubRepositoryRulesBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for XMLEditorError
impl !RefUnwindSafe for XMLEditorError
impl Send for XMLEditorError
impl Sync for XMLEditorError
impl Unpin for XMLEditorError
impl !UnwindSafe for XMLEditorError
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