pub struct IDataReader(/* private fields */);
Implementations§
Source§impl IDataReader
impl IDataReader
pub fn UnconsumedBufferLength(&self) -> Result<u32>
pub fn UnicodeEncoding(&self) -> Result<UnicodeEncoding>
pub fn SetUnicodeEncoding(&self, value: UnicodeEncoding) -> Result<()>
pub fn ByteOrder(&self) -> Result<ByteOrder>
pub fn SetByteOrder(&self, value: ByteOrder) -> Result<()>
pub fn InputStreamOptions(&self) -> Result<InputStreamOptions>
pub fn SetInputStreamOptions(&self, value: InputStreamOptions) -> Result<()>
pub fn ReadByte(&self) -> Result<u8>
pub fn ReadBytes( &self, value: &mut [<u8 as RuntimeType>::DefaultType], ) -> Result<()>
pub fn ReadBuffer(&self, length: u32) -> Result<IBuffer>
pub fn ReadBoolean(&self) -> Result<bool>
pub fn ReadGuid(&self) -> Result<Guid>
pub fn ReadInt16(&self) -> Result<i16>
pub fn ReadInt32(&self) -> Result<i32>
pub fn ReadInt64(&self) -> Result<i64>
pub fn ReadUInt16(&self) -> Result<u16>
pub fn ReadUInt32(&self) -> Result<u32>
pub fn ReadUInt64(&self) -> Result<u64>
pub fn ReadSingle(&self) -> Result<f32>
pub fn ReadDouble(&self) -> Result<f64>
pub fn ReadString(&self, codeunitcount: u32) -> Result<HString>
pub fn ReadDateTime(&self) -> Result<DateTime>
pub fn ReadTimeSpan(&self) -> Result<TimeSpan>
pub fn LoadAsync(&self, count: u32) -> Result<DataReaderLoadOperation>
pub fn DetachBuffer(&self) -> Result<IBuffer>
pub fn DetachStream(&self) -> Result<IInputStream>
Trait Implementations§
Source§impl Clone for IDataReader
impl Clone for IDataReader
Source§fn clone(&self) -> IDataReader
fn clone(&self) -> IDataReader
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 IDataReader
impl Debug for IDataReader
Source§impl From<&DataReader> for IDataReader
impl From<&DataReader> for IDataReader
Source§fn from(value: &DataReader) -> Self
fn from(value: &DataReader) -> Self
Converts to this type from the input type.
Source§impl From<&IDataReader> for Object
impl From<&IDataReader> for Object
Source§fn from(value: &IDataReader) -> Self
fn from(value: &IDataReader) -> Self
Converts to this type from the input type.
Source§impl From<DataReader> for IDataReader
impl From<DataReader> for IDataReader
Source§fn from(value: DataReader) -> Self
fn from(value: DataReader) -> Self
Converts to this type from the input type.
Source§impl From<IDataReader> for Object
impl From<IDataReader> for Object
Source§fn from(value: IDataReader) -> Self
fn from(value: IDataReader) -> Self
Converts to this type from the input type.
Source§impl Interface for IDataReader
impl Interface for IDataReader
const IID: Guid
type Vtable = IDataReader_abi
Source§impl<'a> IntoParam<'a, IDataReader> for &'a DataReader
impl<'a> IntoParam<'a, IDataReader> for &'a DataReader
fn into_param(self) -> Param<'a, IDataReader>
Source§impl<'a> IntoParam<'a, IDataReader> for DataReader
impl<'a> IntoParam<'a, IDataReader> for DataReader
fn into_param(self) -> Param<'a, IDataReader>
Source§impl<'a> IntoParam<'a, Object> for &'a IDataReader
impl<'a> IntoParam<'a, Object> for &'a IDataReader
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for IDataReader
impl<'a> IntoParam<'a, Object> for IDataReader
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for IDataReader
impl PartialEq for IDataReader
Source§impl RuntimeType for IDataReader
impl RuntimeType for IDataReader
const SIGNATURE: ConstBuffer
type DefaultType = Option<IDataReader>
impl Eq for IDataReader
impl StructuralPartialEq for IDataReader
Auto Trait Implementations§
impl Freeze for IDataReader
impl RefUnwindSafe for IDataReader
impl !Send for IDataReader
impl !Sync for IDataReader
impl Unpin for IDataReader
impl UnwindSafe for IDataReader
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