Trait IStorageItemAccessList_Impl
pub trait IStorageItemAccessList_Impl: IUnknownImpl {
Show 16 methods
// Required methods
fn AddOverloadDefaultMetadata(
&self,
file: Ref<'_, IStorageItem>,
) -> Result<HSTRING>;
fn Add(
&self,
file: Ref<'_, IStorageItem>,
metadata: &HSTRING,
) -> Result<HSTRING>;
fn AddOrReplaceOverloadDefaultMetadata(
&self,
token: &HSTRING,
file: Ref<'_, IStorageItem>,
) -> Result<()>;
fn AddOrReplace(
&self,
token: &HSTRING,
file: Ref<'_, IStorageItem>,
metadata: &HSTRING,
) -> Result<()>;
fn GetItemAsync(
&self,
token: &HSTRING,
) -> Result<IAsyncOperation<IStorageItem>>;
fn GetFileAsync(
&self,
token: &HSTRING,
) -> Result<IAsyncOperation<StorageFile>>;
fn GetFolderAsync(
&self,
token: &HSTRING,
) -> Result<IAsyncOperation<StorageFolder>>;
fn GetItemWithOptionsAsync(
&self,
token: &HSTRING,
options: AccessCacheOptions,
) -> Result<IAsyncOperation<IStorageItem>>;
fn GetFileWithOptionsAsync(
&self,
token: &HSTRING,
options: AccessCacheOptions,
) -> Result<IAsyncOperation<StorageFile>>;
fn GetFolderWithOptionsAsync(
&self,
token: &HSTRING,
options: AccessCacheOptions,
) -> Result<IAsyncOperation<StorageFolder>>;
fn Remove(&self, token: &HSTRING) -> Result<()>;
fn ContainsItem(&self, token: &HSTRING) -> Result<bool>;
fn Clear(&self) -> Result<()>;
fn CheckAccess(&self, file: Ref<'_, IStorageItem>) -> Result<bool>;
fn Entries(&self) -> Result<AccessListEntryView>;
fn MaximumItemsAllowed(&self) -> Result<u32>;
}
Required Methods§
fn AddOverloadDefaultMetadata( &self, file: Ref<'_, IStorageItem>, ) -> Result<HSTRING>
fn Add( &self, file: Ref<'_, IStorageItem>, metadata: &HSTRING, ) -> Result<HSTRING>
fn AddOrReplaceOverloadDefaultMetadata( &self, token: &HSTRING, file: Ref<'_, IStorageItem>, ) -> Result<()>
fn AddOrReplace( &self, token: &HSTRING, file: Ref<'_, IStorageItem>, metadata: &HSTRING, ) -> Result<()>
fn GetItemAsync(&self, token: &HSTRING) -> Result<IAsyncOperation<IStorageItem>>
fn GetFileAsync(&self, token: &HSTRING) -> Result<IAsyncOperation<StorageFile>>
fn GetFolderAsync( &self, token: &HSTRING, ) -> Result<IAsyncOperation<StorageFolder>>
fn GetItemWithOptionsAsync( &self, token: &HSTRING, options: AccessCacheOptions, ) -> Result<IAsyncOperation<IStorageItem>>
fn GetFileWithOptionsAsync( &self, token: &HSTRING, options: AccessCacheOptions, ) -> Result<IAsyncOperation<StorageFile>>
fn GetFolderWithOptionsAsync( &self, token: &HSTRING, options: AccessCacheOptions, ) -> Result<IAsyncOperation<StorageFolder>>
fn Remove(&self, token: &HSTRING) -> Result<()>
fn ContainsItem(&self, token: &HSTRING) -> Result<bool>
fn Clear(&self) -> Result<()>
fn CheckAccess(&self, file: Ref<'_, IStorageItem>) -> Result<bool>
fn Entries(&self) -> Result<AccessListEntryView>
fn MaximumItemsAllowed(&self) -> Result<u32>
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.