pub struct TargetResult {Show 13 fields
pub clients: Vec<&'static str>,
pub scope: Scope,
pub project_id: Option<String>,
pub project: Option<PathBuf>,
pub file: PathBuf,
pub counts: OpCounts,
pub outcome: ApplyOutcome,
pub error: Option<CoreError>,
pub entries: Vec<EntryPlan>,
pub written: bool,
pub backup: Option<PathBuf>,
pub warnings: Vec<CoreError>,
pub read_only: Option<ReadOnlyKind>,
}Expand description
What one target got.
Fields§
§clients: Vec<&'static str>§scope: Scope§project_id: Option<String>The project of a project or project-local target.
project: Option<PathBuf>The project folder <P>, when known.
file: PathBuf§counts: OpCountsOperations done (zero when the file was not written).
outcome: ApplyOutcome§error: Option<CoreError>Why the file failed or is blocked as a whole.
entries: Vec<EntryPlan>The plan the file was executed with (after any re-plan).
written: bool§backup: Option<PathBuf>§warnings: Vec<CoreError>§read_only: Option<ReadOnlyKind>This account cannot write the file: found by the write probe while
planning, or the OS refused the write (read_only_target, SPEC
8.2).
Implementations§
Source§impl TargetResult
impl TargetResult
pub fn unresolved(&self) -> usize
Trait Implementations§
Source§impl Clone for TargetResult
impl Clone for TargetResult
Auto Trait Implementations§
impl Forget for TargetResult
impl Freeze for TargetResultwhere
*const u8 is !null: Freeze,
PhantomData<&'static str>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<EntryPlan>: Freeze,
PhantomData<CoreError>: Freeze,
impl Move for TargetResult
impl RefUnwindSafe for TargetResult
impl Send for TargetResult
impl Sync for TargetResultwhere
RawVecInner: Sync,
impl Unpin for TargetResult
impl UnsafeUnpin for TargetResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<&'static str>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<EntryPlan>: UnsafeUnpin,
PhantomData<CoreError>: UnsafeUnpin,
impl UnwindSafe for TargetResult
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