pub trait SearchParameterResolve: Send + Sync {
// Required methods
fn by_resource_type(
&self,
tenant: &TenantId,
project: &ProjectId,
resource_type: &ResourceType,
) -> impl Future<Output = Result<Vec<ResolvedParameter>, OperationOutcomeError>> + Send;
fn by_name(
&self,
tenant: &TenantId,
project: &ProjectId,
resource_type: Option<&ResourceType>,
code: &str,
) -> impl Future<Output = Result<Option<ResolvedParameter>, OperationOutcomeError>> + Send;
fn all(
&self,
tenant: &TenantId,
project: &ProjectId,
) -> impl Future<Output = Result<Vec<ResolvedParameter>, OperationOutcomeError>> + Send;
}Required Methods§
fn by_resource_type( &self, tenant: &TenantId, project: &ProjectId, resource_type: &ResourceType, ) -> impl Future<Output = Result<Vec<ResolvedParameter>, OperationOutcomeError>> + Send
fn by_name( &self, tenant: &TenantId, project: &ProjectId, resource_type: Option<&ResourceType>, code: &str, ) -> impl Future<Output = Result<Option<ResolvedParameter>, OperationOutcomeError>> + Send
fn all( &self, tenant: &TenantId, project: &ProjectId, ) -> impl Future<Output = Result<Vec<ResolvedParameter>, OperationOutcomeError>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.