Trait windows::Storage::IStorageItem_Impl
pub trait IStorageItem_Impl: Sized {
// Required methods
fn RenameAsyncOverloadDefaultOptions(
&self,
desiredname: &HSTRING,
) -> Result<IAsyncAction>;
fn RenameAsync(
&self,
desiredname: &HSTRING,
option: NameCollisionOption,
) -> Result<IAsyncAction>;
fn DeleteAsyncOverloadDefaultOptions(&self) -> Result<IAsyncAction>;
fn DeleteAsync(&self, option: StorageDeleteOption) -> Result<IAsyncAction>;
fn GetBasicPropertiesAsync(
&self,
) -> Result<IAsyncOperation<BasicProperties>>;
fn Name(&self) -> Result<HSTRING>;
fn Path(&self) -> Result<HSTRING>;
fn Attributes(&self) -> Result<FileAttributes>;
fn DateCreated(&self) -> Result<DateTime>;
fn IsOfType(&self, type: StorageItemTypes) -> Result<bool>;
}
Required Methods§
fn RenameAsyncOverloadDefaultOptions( &self, desiredname: &HSTRING, ) -> Result<IAsyncAction>
fn RenameAsync( &self, desiredname: &HSTRING, option: NameCollisionOption, ) -> Result<IAsyncAction>
fn DeleteAsyncOverloadDefaultOptions(&self) -> Result<IAsyncAction>
fn DeleteAsync(&self, option: StorageDeleteOption) -> Result<IAsyncAction>
fn GetBasicPropertiesAsync(&self) -> Result<IAsyncOperation<BasicProperties>>
fn Name(&self) -> Result<HSTRING>
fn Path(&self) -> Result<HSTRING>
fn Attributes(&self) -> Result<FileAttributes>
fn DateCreated(&self) -> Result<DateTime>
fn IsOfType(&self, type: StorageItemTypes) -> Result<bool>
Object Safety§
This trait is not object safe.