Skip to main content

FormatCatalogStateAlg

Trait FormatCatalogStateAlg 

Source
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§

Source

fn request_format_catalog(&mut self, id: Self::Id)

Marks one editable entry as waiting for source inspection.

Source

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".

Implementors§