pub enum FileDigestScope {
Content,
CcInput,
}Expand description
What a recorded file digest may stand in for.
Adapters prove different things when they read a file: the cc adapter’s input scan also establishes that a source embeds no timestamp macro, which a digest recorded by the rustc adapter never checked. Scoping the ledger keeps one adapter’s shortcut from resting on a property another adapter never established.
Variants§
Content
The digest describes the file’s contents and nothing more.
CcInput
The digest describes a cc compiler input that also passed the timestamp-macro scan.
Trait Implementations§
Source§impl Clone for FileDigestScope
impl Clone for FileDigestScope
Source§fn clone(&self) -> FileDigestScope
fn clone(&self) -> FileDigestScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FileDigestScope
Source§impl Debug for FileDigestScope
impl Debug for FileDigestScope
Source§impl<'de> Deserialize<'de> for FileDigestScope
impl<'de> Deserialize<'de> for FileDigestScope
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 FileDigestScope
Source§impl Ord for FileDigestScope
impl Ord for FileDigestScope
Source§fn cmp(&self, other: &FileDigestScope) -> Ordering
fn cmp(&self, other: &FileDigestScope) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FileDigestScope
impl PartialEq for FileDigestScope
Source§impl PartialOrd for FileDigestScope
impl PartialOrd for FileDigestScope
Source§impl Serialize for FileDigestScope
impl Serialize for FileDigestScope
impl StructuralPartialEq for FileDigestScope
Auto Trait Implementations§
impl Freeze for FileDigestScope
impl RefUnwindSafe for FileDigestScope
impl Send for FileDigestScope
impl Sync for FileDigestScope
impl Unpin for FileDigestScope
impl UnsafeUnpin for FileDigestScope
impl UnwindSafe for FileDigestScope
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