Struct cargo_util_schemas::manifest::NameValidationError
source · pub struct NameValidationError(/* private fields */);
Expand description
Error validating names in Cargo.
Trait Implementations§
source§impl Debug for NameValidationError
impl Debug for NameValidationError
source§impl Display for NameValidationError
impl Display for NameValidationError
source§impl Error for NameValidationError
impl Error for NameValidationError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<NameValidationError> for PackageIdSpecError
impl From<NameValidationError> for PackageIdSpecError
source§fn from(value: NameValidationError) -> Self
fn from(value: NameValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NameValidationError
impl RefUnwindSafe for NameValidationError
impl Send for NameValidationError
impl Sync for NameValidationError
impl Unpin for NameValidationError
impl UnwindSafe for NameValidationError
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