Trait IOpcRelationshipSet_Impl
pub trait IOpcRelationshipSet_Impl: IUnknownImpl {
// Required methods
fn GetRelationship(
&self,
relationshipidentifier: &PCWSTR,
) -> Result<IOpcRelationship>;
fn CreateRelationship(
&self,
relationshipidentifier: &PCWSTR,
relationshiptype: &PCWSTR,
targeturi: Ref<'_, IUri>,
targetmode: OPC_URI_TARGET_MODE,
) -> Result<IOpcRelationship>;
fn DeleteRelationship(&self, relationshipidentifier: &PCWSTR) -> Result<()>;
fn RelationshipExists(
&self,
relationshipidentifier: &PCWSTR,
) -> Result<BOOL>;
fn GetEnumerator(&self) -> Result<IOpcRelationshipEnumerator>;
fn GetEnumeratorForType(
&self,
relationshiptype: &PCWSTR,
) -> Result<IOpcRelationshipEnumerator>;
fn GetRelationshipsContentStream(&self) -> Result<IStream>;
}
Required Methods§
fn GetRelationship( &self, relationshipidentifier: &PCWSTR, ) -> Result<IOpcRelationship>
fn CreateRelationship( &self, relationshipidentifier: &PCWSTR, relationshiptype: &PCWSTR, targeturi: Ref<'_, IUri>, targetmode: OPC_URI_TARGET_MODE, ) -> Result<IOpcRelationship>
fn DeleteRelationship(&self, relationshipidentifier: &PCWSTR) -> Result<()>
fn RelationshipExists(&self, relationshipidentifier: &PCWSTR) -> Result<BOOL>
fn GetEnumerator(&self) -> Result<IOpcRelationshipEnumerator>
fn GetEnumeratorForType( &self, relationshiptype: &PCWSTR, ) -> Result<IOpcRelationshipEnumerator>
fn GetRelationshipsContentStream(&self) -> Result<IStream>
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.