pub trait AdminSeamFactory {
type Reader<'a>: AdminReadSeam
where Self: 'a;
type Mutations<'a>: AdminMutationSeam
where Self: 'a;
// Required methods
fn read_seam<'a>(
&'a self,
cfg: &AdminUiConfig,
record: &SessionRecord,
) -> Result<Self::Reader<'a>, UiError>;
fn mutation_seam<'a>(
&'a self,
cfg: &AdminUiConfig,
record: &SessionRecord,
) -> Result<Self::Mutations<'a>, UiError>;
}Required Associated Types§
type Reader<'a>: AdminReadSeam where Self: 'a
type Mutations<'a>: AdminMutationSeam where Self: 'a
Required Methods§
Sourcefn read_seam<'a>(
&'a self,
cfg: &AdminUiConfig,
record: &SessionRecord,
) -> Result<Self::Reader<'a>, UiError>
fn read_seam<'a>( &'a self, cfg: &AdminUiConfig, record: &SessionRecord, ) -> Result<Self::Reader<'a>, UiError>
§Errors
Returns an error when the request is invalid, authentication or session validation fails, or the broker admin operation reports a failure.
Sourcefn mutation_seam<'a>(
&'a self,
cfg: &AdminUiConfig,
record: &SessionRecord,
) -> Result<Self::Mutations<'a>, UiError>
fn mutation_seam<'a>( &'a self, cfg: &AdminUiConfig, record: &SessionRecord, ) -> Result<Self::Mutations<'a>, UiError>
§Errors
Returns an error when the request is invalid, authentication or session validation fails, or the broker admin operation reports a failure.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".