Enum fluvio_index::PackageKind [−][src]
pub enum PackageKind {
Binary,
Unknown(String),
}
Expand description
Packages have a PackageKind
, which describes the contents being distributed.
This is used by installers and updaters to determine what the installation strategy should be for a specific type of package. For example, binaries need to be placed into the PATH, but libraries may need to be installed in a target-specific way.
Variants
An executable binary package, “bin”.
Unknown(String)
Anything we don’t recognize. This is here to prevent breaking changes if the registry adds new package kinds and not all clients are updated.
Tuple Fields of Unknown
0: String
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PackageKind
impl Send for PackageKind
impl Sync for PackageKind
impl Unpin for PackageKind
impl UnwindSafe for PackageKind
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more