windows::Win32::System::Com

Trait IPersistStream_Impl

pub trait IPersistStream_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>;
}

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>

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§