[][src]Struct windows_media_transcoding_bindings::windows::storage::IStorageFile

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

Implementations

impl IStorageFile[src]

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]

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

pub fn copy_overload_default_name_and_options<'a, T0__: Into<Param<'a, IStorageFolder>>>(
    &self,
    destination_folder: T0__
) -> Result<IAsyncOperation<StorageFile>>
[src]

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]

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]

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

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

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]

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]

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

pub fn rename_async_overload_default_options<'a, T0__: Into<Param<'a, HString>>>(
    &self,
    desired_name: T0__
) -> Result<IAsyncAction>
[src]

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

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]

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]

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

Trait Implementations

impl AbiTransferable for IStorageFile[src]

type Abi = RawComPtr<Self>

impl Clone for IStorageFile[src]

impl ComInterface for IStorageFile[src]

type VTable = abi_IStorageFile

impl Debug for IStorageFile[src]

impl Default for IStorageFile[src]

impl<'_> From<&'_ IStorageFile> for IStorageItem[src]

impl<'_> From<&'_ IStorageFile> for IRandomAccessStreamReference[src]

impl<'_> From<&'_ IStorageFile> for IInputStreamReference[src]

impl<'_> From<&'_ IStorageFile> for Object[src]

impl<'_> From<&'_ StorageFile> for IStorageFile[src]

impl From<IStorageFile> for IStorageItem[src]

impl From<IStorageFile> for IRandomAccessStreamReference[src]

impl From<IStorageFile> for IInputStreamReference[src]

impl From<IStorageFile> for Object[src]

impl From<StorageFile> for IStorageFile[src]

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

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

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

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

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

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

impl PartialEq<IStorageFile> for IStorageFile[src]

impl RuntimeType for IStorageFile[src]

Auto Trait Implementations

impl RefUnwindSafe for IStorageFile

impl !Send for IStorageFile

impl !Sync for IStorageFile

impl Unpin for IStorageFile

impl UnwindSafe for IStorageFile

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.