pub trait AsArtifactHandle {
// Required method
fn erase(&self) -> ErasedArtifactHandle;
}
Expand description
Helper trait to allow uniform handling of both typed and untyped artifact handles in various contexts.
Required Methods§
Sourcefn erase(&self) -> ErasedArtifactHandle
fn erase(&self) -> ErasedArtifactHandle
Return a type-erased handle to the given artifact.