Trait IDataModelManager_Impl
pub trait IDataModelManager_Impl: IUnknownImpl {
Show 20 methods
// Required methods
fn Close(&self) -> Result<()>;
fn CreateNoValue(&self) -> Result<IModelObject>;
fn CreateErrorObject(
&self,
hrerror: HRESULT,
pwszmessage: &PCWSTR,
) -> Result<IModelObject>;
fn CreateTypedObject(
&self,
context: Ref<'_, IDebugHostContext>,
objectlocation: &Location,
objecttype: Ref<'_, IDebugHostType>,
) -> Result<IModelObject>;
fn CreateTypedObjectReference(
&self,
context: Ref<'_, IDebugHostContext>,
objectlocation: &Location,
objecttype: Ref<'_, IDebugHostType>,
) -> Result<IModelObject>;
fn CreateSyntheticObject(
&self,
context: Ref<'_, IDebugHostContext>,
) -> Result<IModelObject>;
fn CreateDataModelObject(
&self,
datamodel: Ref<'_, IDataModelConcept>,
) -> Result<IModelObject>;
fn CreateIntrinsicObject(
&self,
objectkind: ModelObjectKind,
intrinsicdata: *const VARIANT,
) -> Result<IModelObject>;
fn CreateTypedIntrinsicObject(
&self,
intrinsicdata: *const VARIANT,
type: Ref<'_, IDebugHostType>,
) -> Result<IModelObject>;
fn GetModelForTypeSignature(
&self,
typesignature: Ref<'_, IDebugHostTypeSignature>,
) -> Result<IModelObject>;
fn GetModelForType(
&self,
type: Ref<'_, IDebugHostType>,
datamodel: OutRef<'_, IModelObject>,
typesignature: OutRef<'_, IDebugHostTypeSignature>,
wildcardmatches: OutRef<'_, IDebugHostSymbolEnumerator>,
) -> Result<()>;
fn RegisterModelForTypeSignature(
&self,
typesignature: Ref<'_, IDebugHostTypeSignature>,
datamodel: Ref<'_, IModelObject>,
) -> Result<()>;
fn UnregisterModelForTypeSignature(
&self,
datamodel: Ref<'_, IModelObject>,
typesignature: Ref<'_, IDebugHostTypeSignature>,
) -> Result<()>;
fn RegisterExtensionForTypeSignature(
&self,
typesignature: Ref<'_, IDebugHostTypeSignature>,
datamodel: Ref<'_, IModelObject>,
) -> Result<()>;
fn UnregisterExtensionForTypeSignature(
&self,
datamodel: Ref<'_, IModelObject>,
typesignature: Ref<'_, IDebugHostTypeSignature>,
) -> Result<()>;
fn CreateMetadataStore(
&self,
parentstore: Ref<'_, IKeyStore>,
) -> Result<IKeyStore>;
fn GetRootNamespace(&self) -> Result<IModelObject>;
fn RegisterNamedModel(
&self,
modelname: &PCWSTR,
modeobject: Ref<'_, IModelObject>,
) -> Result<()>;
fn UnregisterNamedModel(&self, modelname: &PCWSTR) -> Result<()>;
fn AcquireNamedModel(&self, modelname: &PCWSTR) -> Result<IModelObject>;
}
Required Methods§
fn Close(&self) -> Result<()>
fn CreateNoValue(&self) -> Result<IModelObject>
fn CreateErrorObject( &self, hrerror: HRESULT, pwszmessage: &PCWSTR, ) -> Result<IModelObject>
fn CreateTypedObject( &self, context: Ref<'_, IDebugHostContext>, objectlocation: &Location, objecttype: Ref<'_, IDebugHostType>, ) -> Result<IModelObject>
fn CreateTypedObjectReference( &self, context: Ref<'_, IDebugHostContext>, objectlocation: &Location, objecttype: Ref<'_, IDebugHostType>, ) -> Result<IModelObject>
fn CreateSyntheticObject( &self, context: Ref<'_, IDebugHostContext>, ) -> Result<IModelObject>
fn CreateDataModelObject( &self, datamodel: Ref<'_, IDataModelConcept>, ) -> Result<IModelObject>
fn CreateIntrinsicObject( &self, objectkind: ModelObjectKind, intrinsicdata: *const VARIANT, ) -> Result<IModelObject>
fn CreateTypedIntrinsicObject( &self, intrinsicdata: *const VARIANT, type: Ref<'_, IDebugHostType>, ) -> Result<IModelObject>
fn GetModelForTypeSignature( &self, typesignature: Ref<'_, IDebugHostTypeSignature>, ) -> Result<IModelObject>
fn GetModelForType( &self, type: Ref<'_, IDebugHostType>, datamodel: OutRef<'_, IModelObject>, typesignature: OutRef<'_, IDebugHostTypeSignature>, wildcardmatches: OutRef<'_, IDebugHostSymbolEnumerator>, ) -> Result<()>
fn RegisterModelForTypeSignature( &self, typesignature: Ref<'_, IDebugHostTypeSignature>, datamodel: Ref<'_, IModelObject>, ) -> Result<()>
fn UnregisterModelForTypeSignature( &self, datamodel: Ref<'_, IModelObject>, typesignature: Ref<'_, IDebugHostTypeSignature>, ) -> Result<()>
fn RegisterExtensionForTypeSignature( &self, typesignature: Ref<'_, IDebugHostTypeSignature>, datamodel: Ref<'_, IModelObject>, ) -> Result<()>
fn UnregisterExtensionForTypeSignature( &self, datamodel: Ref<'_, IModelObject>, typesignature: Ref<'_, IDebugHostTypeSignature>, ) -> Result<()>
fn CreateMetadataStore( &self, parentstore: Ref<'_, IKeyStore>, ) -> Result<IKeyStore>
fn GetRootNamespace(&self) -> Result<IModelObject>
fn RegisterNamedModel( &self, modelname: &PCWSTR, modeobject: Ref<'_, IModelObject>, ) -> Result<()>
fn UnregisterNamedModel(&self, modelname: &PCWSTR) -> Result<()>
fn AcquireNamedModel(&self, modelname: &PCWSTR) -> Result<IModelObject>
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.