pub trait FormatChoiceViewAlg {
type Format;
// Required methods
fn discovery(&self) -> DiscoveryState<'_>;
fn described_formats(&self) -> impl Iterator<Item = &Self::Format>;
}Expand description
Specifies what one queue entry states about the formats a chooser may offer.
Required Associated Types§
Required Methods§
Sourcefn discovery(&self) -> DiscoveryState<'_>
fn discovery(&self) -> DiscoveryState<'_>
Observes what discovery has stated about this request’s formats.
Sourcefn described_formats(&self) -> impl Iterator<Item = &Self::Format>
fn described_formats(&self) -> impl Iterator<Item = &Self::Format>
Observes the described formats in extractor preference order.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".