pub enum DependencyTypeError {
EmptyDependencyType,
LeadingOrTrailingSpaces,
}Expand description
Represents an error that can occur when validating a DependencyType value.
This error is used to indicate that a DependencyType value is invalid.
Variants§
EmptyDependencyType
Indicates that the DependencyType value is invalid because it is empty.
LeadingOrTrailingSpaces
Indicates that the DependencyType value is invalid because it contains leading or trailing spaces.
Trait Implementations§
Source§impl Debug for DependencyTypeError
impl Debug for DependencyTypeError
Source§impl Display for DependencyTypeError
impl Display for DependencyTypeError
Source§impl Error for DependencyTypeError
impl Error for DependencyTypeError
1.30.0 · 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<DependencyTypeError> for DependencyError
impl From<DependencyTypeError> for DependencyError
Source§fn from(source: DependencyTypeError) -> Self
fn from(source: DependencyTypeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DependencyTypeError
impl RefUnwindSafe for DependencyTypeError
impl Send for DependencyTypeError
impl Sync for DependencyTypeError
impl Unpin for DependencyTypeError
impl UnwindSafe for DependencyTypeError
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