pub struct IOutputStream(/* private fields */);
Implementations§
Source§impl IOutputStream
impl IOutputStream
pub fn WriteAsync<'a, T0__: IntoParam<'a, IBuffer>>( &self, buffer: T0__, ) -> Result<IAsyncOperationWithProgress<u32, u32>>
pub fn FlushAsync(&self) -> Result<IAsyncOperation<bool>>
pub fn Close(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for IOutputStream
impl Clone for IOutputStream
Source§fn clone(&self) -> IOutputStream
fn clone(&self) -> IOutputStream
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IOutputStream
impl Debug for IOutputStream
Source§impl From<&FileOutputStream> for IOutputStream
impl From<&FileOutputStream> for IOutputStream
Source§fn from(value: &FileOutputStream) -> Self
fn from(value: &FileOutputStream) -> Self
Converts to this type from the input type.
Source§impl From<&FileRandomAccessStream> for IOutputStream
impl From<&FileRandomAccessStream> for IOutputStream
Source§fn from(value: &FileRandomAccessStream) -> Self
fn from(value: &FileRandomAccessStream) -> Self
Converts to this type from the input type.
Source§impl From<&IOutputStream> for IClosable
impl From<&IOutputStream> for IClosable
Source§fn from(value: &IOutputStream) -> Self
fn from(value: &IOutputStream) -> Self
Converts to this type from the input type.
Source§impl From<&IOutputStream> for Object
impl From<&IOutputStream> for Object
Source§fn from(value: &IOutputStream) -> Self
fn from(value: &IOutputStream) -> Self
Converts to this type from the input type.
Source§impl From<&IRandomAccessStream> for IOutputStream
impl From<&IRandomAccessStream> for IOutputStream
Source§fn from(value: &IRandomAccessStream) -> Self
fn from(value: &IRandomAccessStream) -> Self
Converts to this type from the input type.
Source§impl From<&IRandomAccessStreamWithContentType> for IOutputStream
impl From<&IRandomAccessStreamWithContentType> for IOutputStream
Source§fn from(value: &IRandomAccessStreamWithContentType) -> Self
fn from(value: &IRandomAccessStreamWithContentType) -> Self
Converts to this type from the input type.
Source§impl From<&InMemoryRandomAccessStream> for IOutputStream
impl From<&InMemoryRandomAccessStream> for IOutputStream
Source§fn from(value: &InMemoryRandomAccessStream) -> Self
fn from(value: &InMemoryRandomAccessStream) -> Self
Converts to this type from the input type.
Source§impl From<&OutputStreamOverStream> for IOutputStream
impl From<&OutputStreamOverStream> for IOutputStream
Source§fn from(value: &OutputStreamOverStream) -> Self
fn from(value: &OutputStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl From<&RandomAccessStreamOverStream> for IOutputStream
impl From<&RandomAccessStreamOverStream> for IOutputStream
Source§fn from(value: &RandomAccessStreamOverStream) -> Self
fn from(value: &RandomAccessStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl From<FileOutputStream> for IOutputStream
impl From<FileOutputStream> for IOutputStream
Source§fn from(value: FileOutputStream) -> Self
fn from(value: FileOutputStream) -> Self
Converts to this type from the input type.
Source§impl From<FileRandomAccessStream> for IOutputStream
impl From<FileRandomAccessStream> for IOutputStream
Source§fn from(value: FileRandomAccessStream) -> Self
fn from(value: FileRandomAccessStream) -> Self
Converts to this type from the input type.
Source§impl From<IOutputStream> for IClosable
impl From<IOutputStream> for IClosable
Source§fn from(value: IOutputStream) -> Self
fn from(value: IOutputStream) -> Self
Converts to this type from the input type.
Source§impl From<IOutputStream> for Object
impl From<IOutputStream> for Object
Source§fn from(value: IOutputStream) -> Self
fn from(value: IOutputStream) -> Self
Converts to this type from the input type.
Source§impl From<IRandomAccessStream> for IOutputStream
impl From<IRandomAccessStream> for IOutputStream
Source§fn from(value: IRandomAccessStream) -> Self
fn from(value: IRandomAccessStream) -> Self
Converts to this type from the input type.
Source§impl From<IRandomAccessStreamWithContentType> for IOutputStream
impl From<IRandomAccessStreamWithContentType> for IOutputStream
Source§fn from(value: IRandomAccessStreamWithContentType) -> Self
fn from(value: IRandomAccessStreamWithContentType) -> Self
Converts to this type from the input type.
Source§impl From<InMemoryRandomAccessStream> for IOutputStream
impl From<InMemoryRandomAccessStream> for IOutputStream
Source§fn from(value: InMemoryRandomAccessStream) -> Self
fn from(value: InMemoryRandomAccessStream) -> Self
Converts to this type from the input type.
Source§impl From<OutputStreamOverStream> for IOutputStream
impl From<OutputStreamOverStream> for IOutputStream
Source§fn from(value: OutputStreamOverStream) -> Self
fn from(value: OutputStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl From<RandomAccessStreamOverStream> for IOutputStream
impl From<RandomAccessStreamOverStream> for IOutputStream
Source§fn from(value: RandomAccessStreamOverStream) -> Self
fn from(value: RandomAccessStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl Interface for IOutputStream
impl Interface for IOutputStream
const IID: Guid
type Vtable = IOutputStream_abi
Source§impl<'a> IntoParam<'a, IClosable> for &'a IOutputStream
impl<'a> IntoParam<'a, IClosable> for &'a IOutputStream
fn into_param(self) -> Param<'a, IClosable>
Source§impl<'a> IntoParam<'a, IClosable> for IOutputStream
impl<'a> IntoParam<'a, IClosable> for IOutputStream
fn into_param(self) -> Param<'a, IClosable>
Source§impl<'a> IntoParam<'a, IOutputStream> for &'a FileOutputStream
impl<'a> IntoParam<'a, IOutputStream> for &'a FileOutputStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for &'a FileRandomAccessStream
impl<'a> IntoParam<'a, IOutputStream> for &'a FileRandomAccessStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for &'a IRandomAccessStream
impl<'a> IntoParam<'a, IOutputStream> for &'a IRandomAccessStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for &'a IRandomAccessStreamWithContentType
impl<'a> IntoParam<'a, IOutputStream> for &'a IRandomAccessStreamWithContentType
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for &'a InMemoryRandomAccessStream
impl<'a> IntoParam<'a, IOutputStream> for &'a InMemoryRandomAccessStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for &'a OutputStreamOverStream
impl<'a> IntoParam<'a, IOutputStream> for &'a OutputStreamOverStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for &'a RandomAccessStreamOverStream
impl<'a> IntoParam<'a, IOutputStream> for &'a RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for FileOutputStream
impl<'a> IntoParam<'a, IOutputStream> for FileOutputStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for FileRandomAccessStream
impl<'a> IntoParam<'a, IOutputStream> for FileRandomAccessStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for IRandomAccessStream
impl<'a> IntoParam<'a, IOutputStream> for IRandomAccessStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for IRandomAccessStreamWithContentType
impl<'a> IntoParam<'a, IOutputStream> for IRandomAccessStreamWithContentType
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for InMemoryRandomAccessStream
impl<'a> IntoParam<'a, IOutputStream> for InMemoryRandomAccessStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for OutputStreamOverStream
impl<'a> IntoParam<'a, IOutputStream> for OutputStreamOverStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IOutputStream> for RandomAccessStreamOverStream
impl<'a> IntoParam<'a, IOutputStream> for RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, Object> for &'a IOutputStream
impl<'a> IntoParam<'a, Object> for &'a IOutputStream
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for IOutputStream
impl<'a> IntoParam<'a, Object> for IOutputStream
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for IOutputStream
impl PartialEq for IOutputStream
Source§impl RuntimeType for IOutputStream
impl RuntimeType for IOutputStream
const SIGNATURE: ConstBuffer
type DefaultType = Option<IOutputStream>
impl Eq for IOutputStream
impl StructuralPartialEq for IOutputStream
Auto Trait Implementations§
impl Freeze for IOutputStream
impl RefUnwindSafe for IOutputStream
impl !Send for IOutputStream
impl !Sync for IOutputStream
impl Unpin for IOutputStream
impl UnwindSafe for IOutputStream
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more