Trait IOleLink_Impl
pub trait IOleLink_Impl: IUnknownImpl {
// Required methods
fn SetUpdateOptions(&self, dwupdateopt: u32) -> Result<()>;
fn GetUpdateOptions(&self) -> Result<u32>;
fn SetSourceMoniker(
&self,
pmk: Ref<'_, IMoniker>,
rclsid: *const GUID,
) -> Result<()>;
fn GetSourceMoniker(&self) -> Result<IMoniker>;
fn SetSourceDisplayName(&self, pszstatustext: &PCWSTR) -> Result<()>;
fn GetSourceDisplayName(&self) -> Result<PWSTR>;
fn BindToSource(&self, bindflags: u32, pbc: Ref<'_, IBindCtx>) -> Result<()>;
fn BindIfRunning(&self) -> Result<()>;
fn GetBoundSource(&self) -> Result<IUnknown>;
fn UnbindSource(&self) -> Result<()>;
fn Update(&self, pbc: Ref<'_, IBindCtx>) -> Result<()>;
}
Required Methods§
fn SetUpdateOptions(&self, dwupdateopt: u32) -> Result<()>
fn GetUpdateOptions(&self) -> Result<u32>
fn SetSourceMoniker( &self, pmk: Ref<'_, IMoniker>, rclsid: *const GUID, ) -> Result<()>
fn GetSourceMoniker(&self) -> Result<IMoniker>
fn SetSourceDisplayName(&self, pszstatustext: &PCWSTR) -> Result<()>
fn GetSourceDisplayName(&self) -> Result<PWSTR>
fn BindToSource(&self, bindflags: u32, pbc: Ref<'_, IBindCtx>) -> Result<()>
fn BindIfRunning(&self) -> Result<()>
fn GetBoundSource(&self) -> Result<IUnknown>
fn UnbindSource(&self) -> Result<()>
fn Update(&self, pbc: Ref<'_, IBindCtx>) -> 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.