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

Required Methods§

fn IsDirty(&self) -> HRESULT

fn Load(&self, pstm: Option<&IStream>) -> Result<()>

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

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

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

Object Safety§

This trait is not object safe.

Implementors§