pub trait Emittable {
// Required method
fn cargos(&self) -> impl Iterator<Item = &PartitionCargo>;
}Expand description
What one value answers to have its declaration-site cargo emitted.
A cargo per delivery it carries, in the order a compiler receives them: a value delivering two says so rather than handing over one stream that claims to be both.
Required Methods§
Sourcefn cargos(&self) -> impl Iterator<Item = &PartitionCargo>
fn cargos(&self) -> impl Iterator<Item = &PartitionCargo>
The declaration-site cargos this value delivers.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".