pub struct ProviderFactory;Implementations§
Source§impl ProviderFactory
impl ProviderFactory
pub fn create_provider( config: &Config, ) -> Result<Box<dyn LlmProvider>, LlmError>
Auto Trait Implementations§
impl Freeze for ProviderFactory
impl RefUnwindSafe for ProviderFactory
impl Send for ProviderFactory
impl Sync for ProviderFactory
impl Unpin for ProviderFactory
impl UnsafeUnpin for ProviderFactory
impl UnwindSafe for ProviderFactory
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