pub struct KeepClient { /* private fields */ }Implementations§
Source§impl KeepClient
impl KeepClient
pub fn new(config: KeepConfig) -> Result<Self, ConfigError>
pub fn from_env() -> Result<Option<Self>, ConfigError>
pub fn endpoint(&self) -> &str
pub fn scope(&self, scope: Scope) -> ScopedClient<'_>
pub fn memory(&self) -> MemoryClient<'_>
pub fn knowledge(&self) -> KnowledgeClient<'_>
pub async fn health(&self) -> Result<HealthInfo>
pub async fn ready(&self) -> Result<HealthInfo>
pub async fn tools(&self) -> Result<Vec<ToolDescriptor>>
Trait Implementations§
Source§impl Clone for KeepClient
impl Clone for KeepClient
Auto Trait Implementations§
impl !RefUnwindSafe for KeepClient
impl !UnwindSafe for KeepClient
impl Forget for KeepClient
impl Freeze for KeepClientwhere
*const ArcInner<ClientRef> is !null: Freeze,
PhantomData<ArcInner<ClientRef>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for KeepClient
impl Send for KeepClient
impl Sync for KeepClient
impl Unpin for KeepClient
impl UnsafeUnpin for KeepClientwhere
*const ArcInner<ClientRef> is !null: UnsafeUnpin,
PhantomData<ArcInner<ClientRef>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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