pub trait Syncer {
// Required methods
fn id(&self) -> impl Future<Output = Result<Id, DaggerError>> + Send;
fn sync(&self) -> impl Future<Output = Result<Id, DaggerError>> + Send;
}Expand description
An object that can be force-evaluated. Calling sync ensures that the object’s entire dependency DAG has been evaluated, returning the object’s ID once complete.
Required Methods§
fn id(&self) -> impl Future<Output = Result<Id, DaggerError>> + Send
fn sync(&self) -> impl Future<Output = Result<Id, DaggerError>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".