pub struct QueryAdapter { /* private fields */ }Implementations§
Source§impl QueryAdapter
impl QueryAdapter
pub fn new(transport: Arc<dyn Transport>) -> Self
pub async fn read_file(&self, repo_id: &str, body: Value) -> TreeDxResult<Value>
pub async fn list_paths( &self, repo_id: &str, body: Value, ) -> TreeDxResult<Value>
pub async fn search_files( &self, repo_id: &str, body: Value, ) -> TreeDxResult<Value>
pub async fn repository( &self, repo_id: &str, body: Value, ) -> TreeDxResult<Value>
Trait Implementations§
Source§impl Clone for QueryAdapter
impl Clone for QueryAdapter
Source§fn clone(&self) -> QueryAdapter
fn clone(&self) -> QueryAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for QueryAdapter
impl !UnwindSafe for QueryAdapter
impl Freeze for QueryAdapter
impl Send for QueryAdapter
impl Sync for QueryAdapter
impl Unpin for QueryAdapter
impl UnsafeUnpin for QueryAdapter
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