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§
sourcefn GetSizeMax(&self) -> HrResult<u64>
fn GetSizeMax(&self) -> HrResult<u64>
IPersistStream::GetSizeMax
method.
sourcefn IsDirty(&self) -> HrResult<bool>
fn IsDirty(&self) -> HrResult<bool>
IPersistStream::IsDirty
method.
sourcefn Load(&self, stream: &impl ole_IStream) -> HrResult<()>
fn Load(&self, stream: &impl ole_IStream) -> HrResult<()>
IPersistStream::Load
method.
sourcefn Save(&self, stream: &impl ole_IStream, clear_dirty: bool) -> HrResult<()>
fn Save(&self, stream: &impl ole_IStream, clear_dirty: bool) -> HrResult<()>
IPersistStream::Save
method.
Object Safety§
This trait is not object safe.