Trait windows::Storage::Search::IStorageQueryResultBase_Impl
pub trait IStorageQueryResultBase_Impl: Sized {
// Required methods
fn GetItemCountAsync(&self) -> Result<IAsyncOperation<u32>>;
fn Folder(&self) -> Result<StorageFolder>;
fn ContentsChanged(
&self,
handler: Option<&TypedEventHandler<IStorageQueryResultBase, IInspectable>>,
) -> Result<EventRegistrationToken>;
fn RemoveContentsChanged(
&self,
eventcookie: &EventRegistrationToken,
) -> Result<()>;
fn OptionsChanged(
&self,
changedhandler: Option<&TypedEventHandler<IStorageQueryResultBase, IInspectable>>,
) -> Result<EventRegistrationToken>;
fn RemoveOptionsChanged(
&self,
eventcookie: &EventRegistrationToken,
) -> Result<()>;
fn FindStartIndexAsync(
&self,
value: Option<&IInspectable>,
) -> Result<IAsyncOperation<u32>>;
fn GetCurrentQueryOptions(&self) -> Result<QueryOptions>;
fn ApplyNewQueryOptions(
&self,
newqueryoptions: Option<&QueryOptions>,
) -> Result<()>;
}
Required Methods§
fn GetItemCountAsync(&self) -> Result<IAsyncOperation<u32>>
fn Folder(&self) -> Result<StorageFolder>
fn ContentsChanged( &self, handler: Option<&TypedEventHandler<IStorageQueryResultBase, IInspectable>>, ) -> Result<EventRegistrationToken>
fn RemoveContentsChanged( &self, eventcookie: &EventRegistrationToken, ) -> Result<()>
fn OptionsChanged( &self, changedhandler: Option<&TypedEventHandler<IStorageQueryResultBase, IInspectable>>, ) -> Result<EventRegistrationToken>
fn RemoveOptionsChanged( &self, eventcookie: &EventRegistrationToken, ) -> Result<()>
fn FindStartIndexAsync( &self, value: Option<&IInspectable>, ) -> Result<IAsyncOperation<u32>>
fn GetCurrentQueryOptions(&self) -> Result<QueryOptions>
fn ApplyNewQueryOptions( &self, newqueryoptions: Option<&QueryOptions>, ) -> Result<()>
Object Safety§
This trait is not object safe.