struct FakeFactory;Trait Implementations§
Source§impl ModelProviderFactory for FakeFactory
impl ModelProviderFactory for FakeFactory
Source§fn provider_name(&self) -> &str
fn provider_name(&self) -> &str
Configuration name used by
ModelDefinition::provider.Source§fn implementation(&self) -> ModelProviderImplementation
fn implementation(&self) -> ModelProviderImplementation
Stable, non-secret adapter identity and compatibility version.
Source§fn validate(&self, definition: &ModelDefinition) -> Result<()>
fn validate(&self, definition: &ModelDefinition) -> Result<()>
Validate provider-specific configuration without side effects.
Source§fn build(&self, _definition: &ModelDefinition) -> Result<Arc<dyn ModelProvider>>
fn build(&self, _definition: &ModelDefinition) -> Result<Arc<dyn ModelProvider>>
Construct the provider for runtime execution.
Auto Trait Implementations§
impl Freeze for FakeFactory
impl RefUnwindSafe for FakeFactory
impl Send for FakeFactory
impl Sync for FakeFactory
impl Unpin for FakeFactory
impl UnsafeUnpin for FakeFactory
impl UnwindSafe for FakeFactory
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more