pub enum MetaSubpackagesError {
InvalidSubpackageName {
cause: PackagePathSegmentError,
name: String,
},
Json(Error),
DuplicateSubpackageName {
name: String,
},
IoError(Error),
ParseHash(ParseHashError),
}
Variants§
Trait Implementations§
source§impl Debug for MetaSubpackagesError
impl Debug for MetaSubpackagesError
source§impl Display for MetaSubpackagesError
impl Display for MetaSubpackagesError
source§impl Error for MetaSubpackagesError
impl Error for MetaSubpackagesError
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<Error> for MetaSubpackagesError
impl From<Error> for MetaSubpackagesError
source§impl From<Error> for MetaSubpackagesError
impl From<Error> for MetaSubpackagesError
source§impl From<MetaSubpackagesError> for BuildError
impl From<MetaSubpackagesError> for BuildError
source§fn from(source: MetaSubpackagesError) -> Self
fn from(source: MetaSubpackagesError) -> Self
Converts to this type from the input type.
source§impl From<MetaSubpackagesError> for PackageManifestError
impl From<MetaSubpackagesError> for PackageManifestError
source§fn from(source: MetaSubpackagesError) -> Self
fn from(source: MetaSubpackagesError) -> Self
Converts to this type from the input type.
source§impl From<ParseHashError> for MetaSubpackagesError
impl From<ParseHashError> for MetaSubpackagesError
source§fn from(source: ParseHashError) -> Self
fn from(source: ParseHashError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MetaSubpackagesError
impl !RefUnwindSafe for MetaSubpackagesError
impl Send for MetaSubpackagesError
impl Sync for MetaSubpackagesError
impl Unpin for MetaSubpackagesError
impl !UnwindSafe for MetaSubpackagesError
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