[][src]Struct uwp_transcode::file::StorageFile

#[repr(transparent)]pub struct StorageFile { /* fields omitted */ }

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]

pub fn rename_async<'a, T0__>(
    &self,
    desired_name: T0__,
    option: NameCollisionOption
) -> Result<IAsyncAction, Error> where
    T0__: Into<Param<'a, HString>>, 
[src]

pub fn delete_async_overload_default_options(
    &self
) -> Result<IAsyncAction, Error>
[src]

pub fn delete_async(
    &self,
    option: StorageDeleteOption
) -> Result<IAsyncAction, Error>
[src]

pub fn get_basic_properties_async(
    &self
) -> Result<IAsyncOperation<BasicProperties>, Error>
[src]

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]

pub fn open_sequential_read_async(
    &self
) -> Result<IAsyncOperation<IInputStream>, Error>
[src]

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]

pub fn open_transacted_write_async(
    &self
) -> Result<IAsyncOperation<StorageStreamTransaction>, Error>
[src]

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]

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]

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]

pub fn copy_and_replace_async<'a, T0__>(
    &self,
    file_to_replace: T0__
) -> Result<IAsyncAction, Error> where
    T0__: Into<Param<'a, IStorageFile>>, 
[src]

pub fn move_overload_default_name_and_options<'a, T0__>(
    &self,
    destination_folder: T0__
) -> Result<IAsyncAction, Error> where
    T0__: Into<Param<'a, IStorageFolder>>, 
[src]

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]

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]

pub fn move_and_replace_async<'a, T0__>(
    &self,
    file_to_replace: T0__
) -> Result<IAsyncAction, Error> where
    T0__: Into<Param<'a, IStorageFile>>, 
[src]

pub fn get_thumbnail_async_overload_default_size_default_options(
    &self,
    mode: ThumbnailMode
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
[src]

pub fn get_thumbnail_async_overload_default_options(
    &self,
    mode: ThumbnailMode,
    requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
[src]

pub fn get_thumbnail_async(
    &self,
    mode: ThumbnailMode,
    requested_size: u32,
    options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
[src]

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]

pub fn get_scaled_image_as_thumbnail_async_overload_default_options(
    &self,
    mode: ThumbnailMode,
    requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
[src]

pub fn get_scaled_image_as_thumbnail_async(
    &self,
    mode: ThumbnailMode,
    requested_size: u32,
    options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>, Error>
[src]

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]

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]

pub fn open_transacted_write_with_options_async(
    &self,
    options: StorageOpenOptions
) -> Result<IAsyncOperation<StorageStreamTransaction>, Error>
[src]

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]

pub fn get_file_from_path_async<'a, T0__>(
    path: T0__
) -> Result<IAsyncOperation<StorageFile>, Error> where
    T0__: Into<Param<'a, HString>>, 
[src]

pub fn get_file_from_application_uri_async<'a, T0__>(
    uri: T0__
) -> Result<IAsyncOperation<StorageFile>, Error> where
    T0__: Into<Param<'a, Uri>>, 
[src]

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]

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]

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]

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]

Trait Implementations

impl AbiTransferable for StorageFile[src]

type Abi = Option<NonNullRawComPtr<IStorageFile>>

impl Clone for StorageFile[src]

impl ComInterface for StorageFile[src]

type VTable = abi_IStorageFile

impl Debug for StorageFile[src]

impl Default for StorageFile[src]

impl<'a> Into<Param<'a, IInputStreamReference>> for &'a StorageFile[src]

impl<'a> Into<Param<'a, IInputStreamReference>> for StorageFile[src]

impl<'a> Into<Param<'a, IRandomAccessStreamReference>> for &'a StorageFile[src]

impl<'a> Into<Param<'a, IRandomAccessStreamReference>> for StorageFile[src]

impl<'a> Into<Param<'a, IStorageFile>> for StorageFile[src]

impl<'a> Into<Param<'a, IStorageFile>> for &'a StorageFile[src]

impl<'a> Into<Param<'a, IStorageFile2>> for StorageFile[src]

impl<'a> Into<Param<'a, IStorageFile2>> for &'a StorageFile[src]

impl<'a> Into<Param<'a, IStorageFilePropertiesWithAvailability>> for &'a StorageFile[src]

impl<'a> Into<Param<'a, IStorageFilePropertiesWithAvailability>> for StorageFile[src]

impl<'a> Into<Param<'a, IStorageItem>> for StorageFile[src]

impl<'a> Into<Param<'a, IStorageItem>> for &'a StorageFile[src]

impl<'a> Into<Param<'a, IStorageItem2>> for StorageFile[src]

impl<'a> Into<Param<'a, IStorageItem2>> for &'a StorageFile[src]

impl<'a> Into<Param<'a, IStorageItemProperties>> for StorageFile[src]

impl<'a> Into<Param<'a, IStorageItemProperties>> for &'a StorageFile[src]

impl<'a> Into<Param<'a, IStorageItemProperties2>> for &'a StorageFile[src]

impl<'a> Into<Param<'a, IStorageItemProperties2>> for StorageFile[src]

impl<'a> Into<Param<'a, IStorageItemPropertiesWithProvider>> for StorageFile[src]

impl<'a> Into<Param<'a, IStorageItemPropertiesWithProvider>> for &'a StorageFile[src]

impl PartialEq<StorageFile> for StorageFile[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.