pub struct NativeExecutableSpec<'a> {
pub package: &'a str,
pub target_name: &'a str,
pub target_kind: NativeTargetKind,
pub selection: CargoSelection,
pub max_message_bytes: usize,
}Expand description
Exact native target and caller-selected recipe and decoding allowance.
Fields§
§package: &'a strUnique package name in the selected Cargo metadata graph.
target_name: &'a strCargo target name, without guessing an output filename.
target_kind: NativeTargetKindBinary or example, selecting Cargo’s corresponding build target.
selection: CargoSelectionProfile, feature and network/lock selections shared by metadata and build. Commands additionally require locked operation.
max_message_bytes: usizeMaximum metadata bytes or bytes in one Cargo JSON message, including LF. Total streamed diagnostic output and build duration have no default limit.
Trait Implementations§
Source§impl<'a> Clone for NativeExecutableSpec<'a>
impl<'a> Clone for NativeExecutableSpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for NativeExecutableSpec<'a>
impl<'a> RefUnwindSafe for NativeExecutableSpec<'a>
impl<'a> Send for NativeExecutableSpec<'a>
impl<'a> Sync for NativeExecutableSpec<'a>
impl<'a> Unpin for NativeExecutableSpec<'a>
impl<'a> UnsafeUnpin for NativeExecutableSpec<'a>
impl<'a> UnwindSafe for NativeExecutableSpec<'a>
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