[−][src]Struct windows_media_transcoding_bindings::windows::storage::StorageFile
Implementations
impl StorageFile[src]
pub fn rename_async_overload_default_options<'a, T0__: Into<Param<'a, HString>>>(
&self,
desired_name: T0__
) -> Result<IAsyncAction>[src]
&self,
desired_name: T0__
) -> Result<IAsyncAction>
pub fn rename_async<'a, T0__: Into<Param<'a, HString>>>(
&self,
desired_name: T0__,
option: NameCollisionOption
) -> Result<IAsyncAction>[src]
&self,
desired_name: T0__,
option: NameCollisionOption
) -> Result<IAsyncAction>
pub fn delete_async_overload_default_options(&self) -> Result<IAsyncAction>[src]
pub fn delete_async(&self, option: StorageDeleteOption) -> Result<IAsyncAction>[src]
pub fn get_basic_properties_async(
&self
) -> Result<IAsyncOperation<BasicProperties>>[src]
&self
) -> Result<IAsyncOperation<BasicProperties>>
pub fn name(&self) -> Result<HString>[src]
pub fn path(&self) -> Result<HString>[src]
pub fn attributes(&self) -> Result<FileAttributes>[src]
pub fn date_created(&self) -> Result<DateTime>[src]
pub fn is_of_type(&self, r#type: StorageItemTypes) -> Result<bool>[src]
pub fn open_read_async(
&self
) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>>[src]
&self
) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>>
pub fn open_sequential_read_async(
&self
) -> Result<IAsyncOperation<IInputStream>>[src]
&self
) -> Result<IAsyncOperation<IInputStream>>
pub fn file_type(&self) -> Result<HString>[src]
pub fn content_type(&self) -> Result<HString>[src]
pub fn open_async(
&self,
access_mode: FileAccessMode
) -> Result<IAsyncOperation<IRandomAccessStream>>[src]
&self,
access_mode: FileAccessMode
) -> Result<IAsyncOperation<IRandomAccessStream>>
pub fn open_transacted_write_async(
&self
) -> Result<IAsyncOperation<StorageStreamTransaction>>[src]
&self
) -> Result<IAsyncOperation<StorageStreamTransaction>>
pub fn copy_overload_default_name_and_options<'a, T0__: Into<Param<'a, IStorageFolder>>>(
&self,
destination_folder: T0__
) -> Result<IAsyncOperation<StorageFile>>[src]
&self,
destination_folder: T0__
) -> Result<IAsyncOperation<StorageFile>>
pub fn copy_overload_default_options<'a, T0__: Into<Param<'a, IStorageFolder>>, T1__: Into<Param<'a, HString>>>(
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncOperation<StorageFile>>[src]
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncOperation<StorageFile>>
pub fn copy_overload<'a, T0__: Into<Param<'a, IStorageFolder>>, T1__: Into<Param<'a, HString>>>(
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncOperation<StorageFile>>[src]
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncOperation<StorageFile>>
pub fn copy_and_replace_async<'a, T0__: Into<Param<'a, IStorageFile>>>(
&self,
file_to_replace: T0__
) -> Result<IAsyncAction>[src]
&self,
file_to_replace: T0__
) -> Result<IAsyncAction>
pub fn move_overload_default_name_and_options<'a, T0__: Into<Param<'a, IStorageFolder>>>(
&self,
destination_folder: T0__
) -> Result<IAsyncAction>[src]
&self,
destination_folder: T0__
) -> Result<IAsyncAction>
pub fn move_overload_default_options<'a, T0__: Into<Param<'a, IStorageFolder>>, T1__: Into<Param<'a, HString>>>(
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncAction>[src]
&self,
destination_folder: T0__,
desired_new_name: T1__
) -> Result<IAsyncAction>
pub fn move_overload<'a, T0__: Into<Param<'a, IStorageFolder>>, T1__: Into<Param<'a, HString>>>(
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncAction>[src]
&self,
destination_folder: T0__,
desired_new_name: T1__,
option: NameCollisionOption
) -> Result<IAsyncAction>
pub fn move_and_replace_async<'a, T0__: Into<Param<'a, IStorageFile>>>(
&self,
file_to_replace: T0__
) -> Result<IAsyncAction>[src]
&self,
file_to_replace: T0__
) -> Result<IAsyncAction>
pub fn get_thumbnail_async_overload_default_size_default_options(
&self,
mode: ThumbnailMode
) -> Result<IAsyncOperation<StorageItemThumbnail>>[src]
&self,
mode: ThumbnailMode
) -> Result<IAsyncOperation<StorageItemThumbnail>>
pub fn get_thumbnail_async_overload_default_options(
&self,
mode: ThumbnailMode,
requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>>[src]
&self,
mode: ThumbnailMode,
requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>>
pub fn get_thumbnail_async(
&self,
mode: ThumbnailMode,
requested_size: u32,
options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>>[src]
&self,
mode: ThumbnailMode,
requested_size: u32,
options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>>
pub fn display_name(&self) -> Result<HString>[src]
pub fn display_type(&self) -> Result<HString>[src]
pub fn folder_relative_id(&self) -> Result<HString>[src]
pub fn properties(&self) -> Result<StorageItemContentProperties>[src]
pub fn get_scaled_image_as_thumbnail_async_overload_default_size_default_options(
&self,
mode: ThumbnailMode
) -> Result<IAsyncOperation<StorageItemThumbnail>>[src]
&self,
mode: ThumbnailMode
) -> Result<IAsyncOperation<StorageItemThumbnail>>
pub fn get_scaled_image_as_thumbnail_async_overload_default_options(
&self,
mode: ThumbnailMode,
requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>>[src]
&self,
mode: ThumbnailMode,
requested_size: u32
) -> Result<IAsyncOperation<StorageItemThumbnail>>
pub fn get_scaled_image_as_thumbnail_async(
&self,
mode: ThumbnailMode,
requested_size: u32,
options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>>[src]
&self,
mode: ThumbnailMode,
requested_size: u32,
options: ThumbnailOptions
) -> Result<IAsyncOperation<StorageItemThumbnail>>
pub fn get_parent_async(&self) -> Result<IAsyncOperation<StorageFolder>>[src]
pub fn is_equal<'a, T0__: Into<Param<'a, IStorageItem>>>(
&self,
item: T0__
) -> Result<bool>[src]
&self,
item: T0__
) -> Result<bool>
pub fn provider(&self) -> Result<StorageProvider>[src]
pub fn is_available(&self) -> Result<bool>[src]
pub fn open_with_options_async(
&self,
access_mode: FileAccessMode,
options: StorageOpenOptions
) -> Result<IAsyncOperation<IRandomAccessStream>>[src]
&self,
access_mode: FileAccessMode,
options: StorageOpenOptions
) -> Result<IAsyncOperation<IRandomAccessStream>>
pub fn open_transacted_write_with_options_async(
&self,
options: StorageOpenOptions
) -> Result<IAsyncOperation<StorageStreamTransaction>>[src]
&self,
options: StorageOpenOptions
) -> Result<IAsyncOperation<StorageStreamTransaction>>
pub fn get_file_from_path_for_user_async<'a, T0__: Into<Param<'a, User>>, T1__: Into<Param<'a, HString>>>(
user: T0__,
path: T1__
) -> Result<IAsyncOperation<StorageFile>>[src]
user: T0__,
path: T1__
) -> Result<IAsyncOperation<StorageFile>>
pub fn get_file_from_path_async<'a, T0__: Into<Param<'a, HString>>>(
path: T0__
) -> Result<IAsyncOperation<StorageFile>>[src]
path: T0__
) -> Result<IAsyncOperation<StorageFile>>
pub fn get_file_from_application_uri_async<'a, T0__: Into<Param<'a, Uri>>>(
uri: T0__
) -> Result<IAsyncOperation<StorageFile>>[src]
uri: T0__
) -> Result<IAsyncOperation<StorageFile>>
pub fn create_streamed_file_async<'a, T0__: Into<Param<'a, HString>>, T1__: Into<Param<'a, StreamedFileDataRequestedHandler>>, T2__: Into<Param<'a, IRandomAccessStreamReference>>>(
display_name_with_extension: T0__,
data_requested: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>>[src]
display_name_with_extension: T0__,
data_requested: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>>
pub fn replace_with_streamed_file_async<'a, T0__: Into<Param<'a, IStorageFile>>, T1__: Into<Param<'a, StreamedFileDataRequestedHandler>>, T2__: Into<Param<'a, IRandomAccessStreamReference>>>(
file_to_replace: T0__,
data_requested: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>>[src]
file_to_replace: T0__,
data_requested: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>>
pub fn create_streamed_file_from_uri_async<'a, T0__: Into<Param<'a, HString>>, T1__: Into<Param<'a, Uri>>, T2__: Into<Param<'a, IRandomAccessStreamReference>>>(
display_name_with_extension: T0__,
uri: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>>[src]
display_name_with_extension: T0__,
uri: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>>
pub fn replace_with_streamed_file_from_uri_async<'a, T0__: Into<Param<'a, IStorageFile>>, T1__: Into<Param<'a, Uri>>, T2__: Into<Param<'a, IRandomAccessStreamReference>>>(
file_to_replace: T0__,
uri: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>>[src]
file_to_replace: T0__,
uri: T1__,
thumbnail: T2__
) -> Result<IAsyncOperation<StorageFile>>
Trait Implementations
impl AbiTransferable for StorageFile[src]
type Abi = RawComPtr<IStorageFile>
fn get_abi(&self) -> Self::Abi[src]
fn set_abi(&mut self) -> *mut Self::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<'_> From<&'_ StorageFile> for IStorageItem[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IRandomAccessStreamReference[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for Object[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IInputStreamReference[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IStorageFile[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IStorageItemProperties[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IStorageItemProperties2[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IStorageItem2[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IStorageItemPropertiesWithProvider[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IStorageFilePropertiesWithAvailability[src]
fn from(value: &StorageFile) -> Self[src]
impl<'_> From<&'_ StorageFile> for IStorageFile2[src]
fn from(value: &StorageFile) -> Self[src]
impl From<StorageFile> for IStorageItem[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for IRandomAccessStreamReference[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for Object[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for IInputStreamReference[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for IStorageFile[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for IStorageItemProperties[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for IStorageItemProperties2[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for IStorageItem2[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for IStorageItemPropertiesWithProvider[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for IStorageFilePropertiesWithAvailability[src]
fn from(value: StorageFile) -> Self[src]
impl From<StorageFile> for IStorageFile2[src]
fn from(value: StorageFile) -> Self[src]
impl<'a> Into<Param<'a, IInputStreamReference>> for StorageFile[src]
fn into(self) -> Param<'a, IInputStreamReference>[src]
impl<'a> Into<Param<'a, IInputStreamReference>> for &'a StorageFile[src]
fn into(self) -> Param<'a, IInputStreamReference>[src]
impl<'a> Into<Param<'a, IRandomAccessStreamReference>> for StorageFile[src]
fn into(self) -> Param<'a, IRandomAccessStreamReference>[src]
impl<'a> Into<Param<'a, IRandomAccessStreamReference>> for &'a 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 StorageFile[src]
fn into(self) -> Param<'a, IStorageFilePropertiesWithAvailability>[src]
impl<'a> Into<Param<'a, IStorageFilePropertiesWithAvailability>> for &'a 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 StorageFile[src]
fn into(self) -> Param<'a, IStorageItemProperties2>[src]
impl<'a> Into<Param<'a, IStorageItemProperties2>> for &'a 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>,