Struct fluvio_index::Target [−][src]
pub struct Target(_);
Expand description
An object representing a specific build target for an artifact being managed by fluvio-index.
This type is generally constructed using FromStr
via the
parse
method.
Example
let target: Target = "x86_64-unknown-linux-musl".parse().unwrap();
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
When parsing from a string, here is the chance to make any
edits or to collapse multiple target names into one. An
example of this is how we transform the target name
x86_64-unknown-linux-gnu
into x86_64-unknown-linux-musl
.
Additionally, if there are any “target strings” that we know for a fact that we cannot support, we can identify those strings here and manually reject them in order to prevent downstream tooling from incorrectly allowing those targets.
All other target names should pass through unchanged.
Auto Trait Implementations
impl RefUnwindSafe for Target
impl UnwindSafe for Target
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V