Trait IStorageProviderSuggestionsHandler_Impl
pub trait IStorageProviderSuggestionsHandler_Impl: IUnknownImpl {
// Required methods
fn GetSuggestions(
&self,
options: Ref<'_, StorageProviderSuggestionsQueryOptions>,
) -> Result<StorageProviderQueryResultSet>;
fn Add(
&self,
kind: StorageProviderResultKind,
remoteFileId: &HSTRING,
) -> Result<()>;
fn Remove(
&self,
kind: StorageProviderResultKind,
remoteFileId: &HSTRING,
) -> Result<()>;
fn GetDetails(
&self,
remoteFileId: &HSTRING,
propertiesToFetch: &[HSTRING],
queryId: &HSTRING,
) -> Result<StorageProviderSuggestionResult>;
fn ReportUsage(
&self,
resultUsageKind: StorageProviderResultUsageKind,
remoteFileId: &HSTRING,
resultId: &HSTRING,
latency: &TimeSpan,
) -> Result<()>;
}Required Methods§
fn GetSuggestions( &self, options: Ref<'_, StorageProviderSuggestionsQueryOptions>, ) -> Result<StorageProviderQueryResultSet>
fn Add( &self, kind: StorageProviderResultKind, remoteFileId: &HSTRING, ) -> Result<()>
fn Remove( &self, kind: StorageProviderResultKind, remoteFileId: &HSTRING, ) -> Result<()>
fn GetDetails( &self, remoteFileId: &HSTRING, propertiesToFetch: &[HSTRING], queryId: &HSTRING, ) -> Result<StorageProviderSuggestionResult>
fn ReportUsage( &self, resultUsageKind: StorageProviderResultUsageKind, remoteFileId: &HSTRING, resultId: &HSTRING, latency: &TimeSpan, ) -> Result<()>
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.