pub struct TypedFamilyRegistration<P> { /* private fields */ }Implementations§
Source§impl<P> TypedFamilyRegistration<P>
impl<P> TypedFamilyRegistration<P>
Trait Implementations§
Source§impl<P: ModelFamilyProvider> ModelFamilyRegistration for TypedFamilyRegistration<P>
impl<P: ModelFamilyProvider> ModelFamilyRegistration for TypedFamilyRegistration<P>
fn family_id(&self) -> &ModelFamilyId
fn external_metadata_ids(&self) -> BTreeSet<ExternalModelMetadataId>
fn define( &self, raw_config: &Value, ) -> Result<ModelFamilyDefinition, VNextError>
fn prepare( &self, definition: &ModelFamilyDefinition, profile: &NumericalProfileId, ) -> Result<PreparedModelFamily, VNextError>
fn prepare_with_profile( &self, raw_config: &Value, profile: &NumericalProfileId, ) -> Result<PreparedModelFamily, VNextError>
Auto Trait Implementations§
impl<P> Freeze for TypedFamilyRegistration<P>
impl<P> RefUnwindSafe for TypedFamilyRegistration<P>where
Arc<P>: RefUnwindSafe,
impl<P> Send for TypedFamilyRegistration<P>
impl<P> Sync for TypedFamilyRegistration<P>
impl<P> Unpin for TypedFamilyRegistration<P>
impl<P> UnsafeUnpin for TypedFamilyRegistration<P>where
Arc<P>: UnsafeUnpin,
impl<P> UnwindSafe for TypedFamilyRegistration<P>where
Arc<P>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more