Skip to main content

BuildContextInspector

Trait BuildContextInspector 

Source
pub trait BuildContextInspector: Send + Sync {
    // Required method
    fn fingerprint<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        host: &'life1 HostRecord,
        path: &'life2 Path,
        deadline: Timestamp,
        cancellation: &'life3 CancellationToken,
    ) -> Pin<Box<dyn Future<Output = InfraResult<BuildContextFingerprint>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}
Expand description

Reads one build context through descriptor-confined traversal.

Required Methods§

Source

fn fingerprint<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, host: &'life1 HostRecord, path: &'life2 Path, deadline: Timestamp, cancellation: &'life3 CancellationToken, ) -> Pin<Box<dyn Future<Output = InfraResult<BuildContextFingerprint>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Computes one bounded deterministic context fingerprint.

Implementors§

Source§

impl<E> BuildContextInspector for CommandBuildContextInspector<E>
where E: CommandExecutor,