Trait winsafe::prelude::ole_IPersistStream

source ·
pub trait ole_IPersistStream: ole_IPersist {
    // Provided methods
    fn GetSizeMax(&self) -> HrResult<u64> { ... }
    fn IsDirty(&self) -> HrResult<bool> { ... }
    fn Load(&self, stream: &impl ole_IStream) -> HrResult<()> { ... }
    fn Save(&self, stream: &impl ole_IStream, clear_dirty: bool) -> HrResult<()> { ... }
}
Available on crate features kernel and ole only.
Expand description

This trait is enabled with the ole feature, and provides methods for IPersistStream.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

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

source

fn IsDirty(&self) -> HrResult<bool>

source

fn Load(&self, stream: &impl ole_IStream) -> HrResult<()>

source

fn Save(&self, stream: &impl ole_IStream, clear_dirty: bool) -> HrResult<()>

Object Safety§

This trait is not object safe.

Implementors§