pub enum PinErrorKind {
FromFile(FromFileError),
EnumeratePackageManifests(EnumeratePackageManifestsError),
Write(WriteError),
NonStringVersionNumber {
package_name: PackageName,
dependency_name: String,
},
}
Variants§
FromFile(FromFileError)
EnumeratePackageManifests(EnumeratePackageManifestsError)
Write(WriteError)
NonStringVersionNumber
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
package_name: PackageName
Trait Implementations§
Source§impl Debug for PinErrorKind
impl Debug for PinErrorKind
Source§impl From<PinErrorKind> for PinError
impl From<PinErrorKind> for PinError
Source§fn from(kind: PinErrorKind) -> Self
fn from(kind: PinErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PinErrorKind
impl !RefUnwindSafe for PinErrorKind
impl Send for PinErrorKind
impl Sync for PinErrorKind
impl Unpin for PinErrorKind
impl !UnwindSafe for PinErrorKind
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