pub struct CapturedRustcOutput {
pub kind: CapturedRustcOutputKind,
pub path: PathBuf,
pub snapshot_path: Option<PathBuf>,
pub sha256: String,
}Expand description
One file rustc wrote for a captured invocation.
Fields§
§kind: CapturedRustcOutputKindWhich kind of artifact this output is.
path: PathBufWhere rustc wrote it inside the invocation’s --out-dir.
snapshot_path: Option<PathBuf>The frozen copy the wrapper took at rustc exit, when one exists.
sha256: StringSHA-256 of the bytes at path, computed by the wrapper the moment
rustc exited. The scan re-hashes the file it is about to plan and
requires equality, so an output rewritten after rustc finished can
never reach the plan.
Trait Implementations§
Source§impl Clone for CapturedRustcOutput
impl Clone for CapturedRustcOutput
Source§impl Debug for CapturedRustcOutput
impl Debug for CapturedRustcOutput
Source§impl<'de> Deserialize<'de> for CapturedRustcOutput
impl<'de> Deserialize<'de> for CapturedRustcOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CapturedRustcOutput
Source§impl PartialEq for CapturedRustcOutput
impl PartialEq for CapturedRustcOutput
Source§impl Serialize for CapturedRustcOutput
impl Serialize for CapturedRustcOutput
impl StructuralPartialEq for CapturedRustcOutput
Auto Trait Implementations§
impl Freeze for CapturedRustcOutput
impl RefUnwindSafe for CapturedRustcOutput
impl Send for CapturedRustcOutput
impl Sync for CapturedRustcOutput
impl Unpin for CapturedRustcOutput
impl UnsafeUnpin for CapturedRustcOutput
impl UnwindSafe for CapturedRustcOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.