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)>
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<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