pub enum MultiArch {
Same,
Foreign,
No,
Allowed,
}
Expand description
Multi-arch policy
Variants§
Same
Indicates that the package is identical across all architectures. The package can satisfy dependencies for other architectures.
Foreign
The package can be installed alongside the same package of other architectures. It doesn’t provide files that conflict with other architectures.
No
The package is only for its native architecture and cannot satisfy dependencies for other architectures.
Allowed
Similar to “foreign”, but the package manager may choose not to install it for foreign architectures if a native package is available.
Trait Implementations§
impl Eq for MultiArch
impl StructuralPartialEq for MultiArch
Auto Trait Implementations§
impl Freeze for MultiArch
impl RefUnwindSafe for MultiArch
impl Send for MultiArch
impl Sync for MultiArch
impl Unpin for MultiArch
impl UnwindSafe for MultiArch
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