pub struct RandomAccessStreamOverStream(/* private fields */);
Implementations§
Source§impl RandomAccessStreamOverStream
impl RandomAccessStreamOverStream
pub fn Size(&self) -> Result<u64>
pub fn SetSize(&self, value: u64) -> Result<()>
pub fn GetInputStreamAt(&self, position: u64) -> Result<IInputStream>
pub fn GetOutputStreamAt(&self, position: u64) -> Result<IOutputStream>
pub fn Position(&self) -> Result<u64>
pub fn Seek(&self, position: u64) -> Result<()>
pub fn CloneStream(&self) -> Result<IRandomAccessStream>
pub fn CanRead(&self) -> Result<bool>
pub fn CanWrite(&self) -> Result<bool>
pub fn Close(&self) -> Result<()>
pub fn ReadAsync<'a, T0__: IntoParam<'a, IBuffer>>( &self, buffer: T0__, count: u32, options: InputStreamOptions, ) -> Result<IAsyncOperationWithProgress<IBuffer, u32>>
pub fn WriteAsync<'a, T0__: IntoParam<'a, IBuffer>>( &self, buffer: T0__, ) -> Result<IAsyncOperationWithProgress<u32, u32>>
pub fn FlushAsync(&self) -> Result<IAsyncOperation<bool>>
Trait Implementations§
Source§impl Clone for RandomAccessStreamOverStream
impl Clone for RandomAccessStreamOverStream
Source§fn clone(&self) -> RandomAccessStreamOverStream
fn clone(&self) -> RandomAccessStreamOverStream
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 RandomAccessStreamOverStream
impl Debug for RandomAccessStreamOverStream
Source§impl From<&RandomAccessStreamOverStream> for IClosable
impl From<&RandomAccessStreamOverStream> for IClosable
Source§fn from(value: &RandomAccessStreamOverStream) -> Self
fn from(value: &RandomAccessStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl From<&RandomAccessStreamOverStream> for IInputStream
impl From<&RandomAccessStreamOverStream> for IInputStream
Source§fn from(value: &RandomAccessStreamOverStream) -> Self
fn from(value: &RandomAccessStreamOverStream) -> 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<&RandomAccessStreamOverStream> for IRandomAccessStream
impl From<&RandomAccessStreamOverStream> for IRandomAccessStream
Source§fn from(value: &RandomAccessStreamOverStream) -> Self
fn from(value: &RandomAccessStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl From<&RandomAccessStreamOverStream> for Object
impl From<&RandomAccessStreamOverStream> for Object
Source§fn from(value: &RandomAccessStreamOverStream) -> Self
fn from(value: &RandomAccessStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl From<RandomAccessStreamOverStream> for IClosable
impl From<RandomAccessStreamOverStream> for IClosable
Source§fn from(value: RandomAccessStreamOverStream) -> Self
fn from(value: RandomAccessStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl From<RandomAccessStreamOverStream> for IInputStream
impl From<RandomAccessStreamOverStream> for IInputStream
Source§fn from(value: RandomAccessStreamOverStream) -> Self
fn from(value: RandomAccessStreamOverStream) -> 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<RandomAccessStreamOverStream> for IRandomAccessStream
impl From<RandomAccessStreamOverStream> for IRandomAccessStream
Source§fn from(value: RandomAccessStreamOverStream) -> Self
fn from(value: RandomAccessStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl From<RandomAccessStreamOverStream> for Object
impl From<RandomAccessStreamOverStream> for Object
Source§fn from(value: RandomAccessStreamOverStream) -> Self
fn from(value: RandomAccessStreamOverStream) -> Self
Converts to this type from the input type.
Source§impl Interface for RandomAccessStreamOverStream
impl Interface for RandomAccessStreamOverStream
const IID: Guid
type Vtable = IRandomAccessStream_abi
Source§impl<'a> IntoParam<'a, IClosable> for &'a RandomAccessStreamOverStream
impl<'a> IntoParam<'a, IClosable> for &'a RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, IClosable>
Source§impl<'a> IntoParam<'a, IClosable> for RandomAccessStreamOverStream
impl<'a> IntoParam<'a, IClosable> for RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, IClosable>
Source§impl<'a> IntoParam<'a, IInputStream> for &'a RandomAccessStreamOverStream
impl<'a> IntoParam<'a, IInputStream> for &'a RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, IInputStream>
Source§impl<'a> IntoParam<'a, IInputStream> for RandomAccessStreamOverStream
impl<'a> IntoParam<'a, IInputStream> for RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, IInputStream>
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 RandomAccessStreamOverStream
impl<'a> IntoParam<'a, IOutputStream> for RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, IOutputStream>
Source§impl<'a> IntoParam<'a, IRandomAccessStream> for &'a RandomAccessStreamOverStream
impl<'a> IntoParam<'a, IRandomAccessStream> for &'a RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, IRandomAccessStream>
Source§impl<'a> IntoParam<'a, IRandomAccessStream> for RandomAccessStreamOverStream
impl<'a> IntoParam<'a, IRandomAccessStream> for RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, IRandomAccessStream>
Source§impl<'a> IntoParam<'a, Object> for &'a RandomAccessStreamOverStream
impl<'a> IntoParam<'a, Object> for &'a RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for RandomAccessStreamOverStream
impl<'a> IntoParam<'a, Object> for RandomAccessStreamOverStream
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for RandomAccessStreamOverStream
impl PartialEq for RandomAccessStreamOverStream
Source§fn eq(&self, other: &RandomAccessStreamOverStream) -> bool
fn eq(&self, other: &RandomAccessStreamOverStream) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for RandomAccessStreamOverStream
impl Send for RandomAccessStreamOverStream
impl StructuralPartialEq for RandomAccessStreamOverStream
impl Sync for RandomAccessStreamOverStream
Auto Trait Implementations§
impl Freeze for RandomAccessStreamOverStream
impl RefUnwindSafe for RandomAccessStreamOverStream
impl Unpin for RandomAccessStreamOverStream
impl UnwindSafe for RandomAccessStreamOverStream
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