windows::Win32::System::Com

Trait IPersistStreamInit_Impl

pub trait IPersistStreamInit_Impl: IPersist_Impl {
    // Required methods
    fn IsDirty(&self) -> HRESULT;
    fn Load(&self, pstm: Ref<'_, IStream>) -> Result<()>;
    fn Save(&self, pstm: Ref<'_, IStream>, fcleardirty: BOOL) -> Result<()>;
    fn GetSizeMax(&self) -> Result<u64>;
    fn InitNew(&self) -> Result<()>;
}

Required Methods§

fn IsDirty(&self) -> HRESULT

fn Load(&self, pstm: Ref<'_, IStream>) -> Result<()>

fn Save(&self, pstm: Ref<'_, IStream>, fcleardirty: BOOL) -> Result<()>

fn GetSizeMax(&self) -> Result<u64>

fn InitNew(&self) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§