Enum cargo::core::source::MaybePackage
source · pub enum MaybePackage {
Ready(Package),
Download {
url: String,
descriptor: String,
authorization: Option<String>,
},
}
Variants§
Auto Trait Implementations§
impl RefUnwindSafe for MaybePackage
impl !Send for MaybePackage
impl !Sync for MaybePackage
impl Unpin for MaybePackage
impl UnwindSafe for MaybePackage
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 72 bytes
Size for each variant:
Ready
: 8 bytesDownload
: 72 bytes