[−][src]Struct uwp_transcode::file::StorageFile
Implementations
impl StorageFile[src]
pub fn rename_async_overload_default_options<'a, T0__>(
&self,
desired_name: T0__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, HString>>, [src]
&self,
desired_name: T0__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, HString>>,
pub fn rename_async<'a, T0__>(
&self,
desired_name: T0__,
option: NameCollisionOption
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, HString>>, [src]
&self,
desired_name: T0__,
option: NameCollisionOption
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, HString>>,
pub fn delete_async_overload_default_options(
&self
) -> Result<IAsyncAction, Error>[src]
&self
) -> Result<IAsyncAction, Error>
pub fn delete_async(
&self,
option: StorageDeleteOption
) -> Result<IAsyncAction, Error>[src]
&self,
option: StorageDeleteOption
) -> Result<IAsyncAction, Error>
pub fn get_basic_properties_async(
&self
) -> Result<IAsyncOperation<BasicProperties>, Error>[src]
&self
) -> Result<IAsyncOperation<BasicProperties>, Error>
pub fn name(&self) -> Result<HString, Error>[src]
pub fn path(&self) -> Result<HString, Error>[src]
pub fn attributes(&self) -> Result<FileAttributes, Error>[src]
pub fn date_created(&self) -> Result<DateTime, Error>[src]
pub fn is_of_type(&self, r#type: StorageItemTypes) -> Result<bool, Error>[src]
pub fn open_read_async(
&self
) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>, Error>[src]
&self
) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>, Error>
pub fn open_sequential_read_async(
&self
) -> Result<IAsyncOperation<IInputStream>, Error>[src]
&self
) -> Result<IAsyncOperation<IInputStream>, Error>
pub fn file_type(&self) -> Result<HString, Error>[src]
pub fn content_type(&self) -> Result<HString, Error>[src]
pub fn open_async(
&self,
access_mode: FileAccessMode
) -> Result<IAsyncOperation<IRandomAccessStream>, Error>[src]
&self,
access_mode: FileAccessMode
) -> Result<IAsyncOperation<IRandomAccessStream>, Error>
pub fn open_transacted_write_async(
&self
) -> Result<IAsyncOperation<StorageStreamTransaction>, Error>[src]
&self
) -> Result<IAsyncOperation<StorageStreamTransaction>, Error>
pub fn copy_overload_default_name_and_options<'a, T0__>(
&self,
destination_folder: T0__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFolder>>, [src]
&self,
destination_folder: T0__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
pub fn copy_overload_default_options<'a, T0__, T1__>(
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
T1__: Into<Param<'a, HString>>, [src]
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
T1__: Into<Param<'a, HString>>,
pub fn copy_overload<'a, T0__, T1__>(
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
T1__: Into<Param<'a, HString>>, [src]
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
T1__: Into<Param<'a, HString>>,
pub fn copy_and_replace_async<'a, T0__>(
&self,
file_to_replace: T0__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFile>>, [src]
&self,
file_to_replace: T0__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFile>>,
pub fn move_overload_default_name_and_options<'a, T0__>(
&self,
destination_folder: T0__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFolder>>, [src]
&self,
destination_folder: T0__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
pub fn move_overload_default_options<'a, T0__, T1__>(
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
T1__: Into<Param<'a, HString>>, [src]
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
T1__: Into<Param<'a, HString>>,
pub fn move_overload<'a, T0__, T1__>(
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
T1__: Into<Param<'a, HString>>, [src]
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFolder>>,
T1__: Into<Param<'a, HString>>,
pub fn move_and_replace_async<'a, T0__>(
&self,
file_to_replace: T0__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFile>>, [src]
&self,
file_to_replace: T0__
) -> Result<IAsyncAction, Error> where
T0__: Into<Param<'a, IStorageFile>>,
pub fn get_thumbnail_async_overload_default_size_default_options(
&self,
mode: ThumbnailMode
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>[src]
&self,
mode: ThumbnailMode
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
pub fn get_thumbnail_async_overload_default_options(
&self,
mode: ThumbnailMode,
requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>[src]
&self,
mode: ThumbnailMode,
requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
pub fn get_thumbnail_async(
&self,
mode: ThumbnailMode,
requested_size: u32,
options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>[src]
&self,
mode: ThumbnailMode,
requested_size: u32,
options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
pub fn display_name(&self) -> Result<HString, Error>[src]
pub fn display_type(&self) -> Result<HString, Error>[src]
pub fn folder_relative_id(&self) -> Result<HString, Error>[src]
pub fn properties(&self) -> Result<StorageItemContentProperties, Error>[src]
pub fn get_scaled_image_as_thumbnail_async_overload_default_size_default_options(
&self,
mode: ThumbnailMode
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>[src]
&self,
mode: ThumbnailMode
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
pub fn get_scaled_image_as_thumbnail_async_overload_default_options(
&self,
mode: ThumbnailMode,
requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>[src]
&self,
mode: ThumbnailMode,
requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
pub fn get_scaled_image_as_thumbnail_async(
&self,
mode: ThumbnailMode,
requested_size: u32,
options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>[src]
&self,
mode: ThumbnailMode,
requested_size: u32,
options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
pub fn get_parent_async(&self) -> Result<IAsyncOperation<StorageFolder>, Error>[src]
pub fn is_equal<'a, T0__>(&self, item: T0__) -> Result<bool, Error> where
T0__: Into<Param<'a, IStorageItem>>, [src]
T0__: Into<Param<'a, IStorageItem>>,
pub fn provider(&self) -> Result<StorageProvider, Error>[src]
pub fn is_available(&self) -> Result<bool, Error>[src]
pub fn open_with_options_async(
&self,
access_mode: FileAccessMode,
options: StorageOpenOptions
) -> Result<IAsyncOperation<IRandomAccessStream>, Error>[src]
&self,
access_mode: FileAccessMode,
options: StorageOpenOptions
) -> Result<IAsyncOperation<IRandomAccessStream>, Error>
pub fn open_transacted_write_with_options_async(
&self,
options: StorageOpenOptions
) -> Result<IAsyncOperation<StorageStreamTransaction>, Error>[src]
&self,
options: StorageOpenOptions
) -> Result<IAsyncOperation<StorageStreamTransaction>, Error>
pub fn get_file_from_path_for_user_async<'a, T0__, T1__>(
user: T0__,
path: T1__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, User>>,
T1__: Into<Param<'a, HString>>, [src]
user: T0__,
path: T1__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, User>>,
T1__: Into<Param<'a, HString>>,
pub fn get_file_from_path_async<'a, T0__>(
path: T0__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, HString>>, [src]
path: T0__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, HString>>,
pub fn get_file_from_application_uri_async<'a, T0__>(
uri: T0__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, Uri>>, [src]
uri: T0__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, Uri>>,
pub fn create_streamed_file_async<'a, T0__, T1__, T2__>(
display_name_with_extension: T0__,
data_requested: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, HString>>,
T1__: Into<Param<'a, StreamedFileDataRequestedHandler>>,
T2__: Into<Param<'a, IRandomAccessStreamReference>>, [src]
display_name_with_extension: T0__,
data_requested: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, HString>>,
T1__: Into<Param<'a, StreamedFileDataRequestedHandler>>,
T2__: Into<Param<'a, IRandomAccessStreamReference>>,
pub fn replace_with_streamed_file_async<'a, T0__, T1__, T2__>(
file_to_replace: T0__,
data_requested: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFile>>,
T1__: Into<Param<'a, StreamedFileDataRequestedHandler>>,
T2__: Into<Param<'a, IRandomAccessStreamReference>>, [src]
file_to_replace: T0__,
data_requested: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFile>>,
T1__: Into<Param<'a, StreamedFileDataRequestedHandler>>,
T2__: Into<Param<'a, IRandomAccessStreamReference>>,
pub fn create_streamed_file_from_uri_async<'a, T0__, T1__, T2__>(
display_name_with_extension: T0__,
uri: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, HString>>,
T1__: Into<Param<'a, Uri>>,
T2__: Into<Param<'a, IRandomAccessStreamReference>>, [src]
display_name_with_extension: T0__,
uri: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, HString>>,
T1__: Into<Param<'a, Uri>>,
T2__: Into<Param<'a, IRandomAccessStreamReference>>,
pub fn replace_with_streamed_file_from_uri_async<'a, T0__, T1__, T2__>(
file_to_replace: T0__,
uri: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFile>>,
T1__: Into<Param<'a, Uri>>,
T2__: Into<Param<'a, IRandomAccessStreamReference>>, [src]
file_to_replace: T0__,
uri: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>, Error> where
T0__: Into<Param<'a, IStorageFile>>,
T1__: Into<Param<'a, Uri>>,
T2__: Into<Param<'a, IRandomAccessStreamReference>>,
Trait Implementations
impl AbiTransferable for StorageFile[src]
type Abi = Option<NonNullRawComPtr<IStorageFile>>
fn get_abi(&self) -> <StorageFile as AbiTransferable>::Abi[src]
fn set_abi(&mut self) -> *mut <StorageFile as AbiTransferable>::Abi[src]
fn from_abi(abi: &Self::Abi) -> &Self
fn from_mut_abi(abi: &mut Self::Abi) -> &mut Self
unsafe fn slice_from_abi<'a>(abi: *const Self::Abi, len: usize) -> &'a [Self]
unsafe fn slice_from_mut_abi<'a>(
abi: *mut Self::Abi,
len: usize
) -> &'a mut [Self]
abi: *mut Self::Abi,
len: usize
) -> &'a mut [Self]
fn into_abi(self) -> Self::Abi
impl Clone for StorageFile[src]
fn clone(&self) -> StorageFile[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl ComInterface for StorageFile[src]
type VTable = abi_IStorageFile
fn iid() -> Guid[src]
fn as_iunknown(&self) -> Option<NonNullRawComPtr<IUnknown>>
fn query<Into>(&self) -> Into where
Into: ComInterface,
Into: ComInterface,
fn is_null(&self) -> bool
fn is_agile(&self) -> bool
unsafe fn raw_query<T>(&self, iid: &Guid, ppv: &mut T) where
T: ComInterface,
T: ComInterface,
impl Debug for StorageFile[src]
impl Default for StorageFile[src]
fn default() -> StorageFile[src]
impl<'a> Into<Param<'a, IInputStreamReference>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IInputStreamReference>[src]
impl<'a> Into<Param<'a, IInputStreamReference>> for StorageFile[src]
fn into(self) -> Param<'a, IInputStreamReference>[src]
impl<'a> Into<Param<'a, IRandomAccessStreamReference>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IRandomAccessStreamReference>[src]
impl<'a> Into<Param<'a, IRandomAccessStreamReference>> for StorageFile[src]
fn into(self) -> Param<'a, IRandomAccessStreamReference>[src]
impl<'a> Into<Param<'a, IStorageFile>> for StorageFile[src]
fn into(self) -> Param<'a, IStorageFile>[src]
impl<'a> Into<Param<'a, IStorageFile>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IStorageFile>[src]
impl<'a> Into<Param<'a, IStorageFile2>> for StorageFile[src]
fn into(self) -> Param<'a, IStorageFile2>[src]
impl<'a> Into<Param<'a, IStorageFile2>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IStorageFile2>[src]
impl<'a> Into<Param<'a, IStorageFilePropertiesWithAvailability>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IStorageFilePropertiesWithAvailability>[src]
impl<'a> Into<Param<'a, IStorageFilePropertiesWithAvailability>> for StorageFile[src]
fn into(self) -> Param<'a, IStorageFilePropertiesWithAvailability>[src]
impl<'a> Into<Param<'a, IStorageItem>> for StorageFile[src]
fn into(self) -> Param<'a, IStorageItem>[src]
impl<'a> Into<Param<'a, IStorageItem>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IStorageItem>[src]
impl<'a> Into<Param<'a, IStorageItem2>> for StorageFile[src]
fn into(self) -> Param<'a, IStorageItem2>[src]
impl<'a> Into<Param<'a, IStorageItem2>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IStorageItem2>[src]
impl<'a> Into<Param<'a, IStorageItemProperties>> for StorageFile[src]
fn into(self) -> Param<'a, IStorageItemProperties>[src]
impl<'a> Into<Param<'a, IStorageItemProperties>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IStorageItemProperties>[src]
impl<'a> Into<Param<'a, IStorageItemProperties2>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IStorageItemProperties2>[src]
impl<'a> Into<Param<'a, IStorageItemProperties2>> for StorageFile[src]
fn into(self) -> Param<'a, IStorageItemProperties2>[src]
impl<'a> Into<Param<'a, IStorageItemPropertiesWithProvider>> for StorageFile[src]
fn into(self) -> Param<'a, IStorageItemPropertiesWithProvider>[src]
impl<'a> Into<Param<'a, IStorageItemPropertiesWithProvider>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IStorageItemPropertiesWithProvider>[src]
impl PartialEq<StorageFile> for StorageFile[src]
fn eq(&self, other: &StorageFile) -> bool[src]
fn ne(&self, other: &StorageFile) -> bool[src]
impl RuntimeName for StorageFile[src]
impl RuntimeType for StorageFile[src]
impl StructuralPartialEq for StorageFile[src]
Auto Trait Implementations
impl RefUnwindSafe for StorageFile
impl !Send for StorageFile
impl !Sync for StorageFile
impl Unpin for StorageFile
impl UnwindSafe for StorageFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,