pub trait FormatCatalogStateAlg: ManagerSorts {
// Required methods
fn request_format_catalog(&mut self, id: Self::Id);
fn apply_format_catalog_event(
&mut self,
id: Self::Id,
event: FormatDiscoveryOp<Self::Format>,
);
}Expand description
Specifies format-catalog requests and external observations.
Required Methods§
Sourcefn request_format_catalog(&mut self, id: Self::Id)
fn request_format_catalog(&mut self, id: Self::Id)
Marks one editable entry as waiting for source inspection.
Sourcefn apply_format_catalog_event(
&mut self,
id: Self::Id,
event: FormatDiscoveryOp<Self::Format>,
)
fn apply_format_catalog_event( &mut self, id: Self::Id, event: FormatDiscoveryOp<Self::Format>, )
Applies one format-catalog observation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".