pub struct CodebaseRpcImpl { /* private fields */ }
Expand description
Implementation of codebase processing RPC handlers
Implementations§
Trait Implementations§
Source§impl CodebaseRpcServer for CodebaseRpcImpl
impl CodebaseRpcServer for CodebaseRpcImpl
Source§fn process_local_codebase<'life0, 'async_trait>(
&'life0 self,
request: ProcessLocalRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<ProcessLocalResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn process_local_codebase<'life0, 'async_trait>(
&'life0 self,
request: ProcessLocalRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<ProcessLocalResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Process a local codebase directory
Source§fn process_remote_repo<'life0, 'async_trait>(
&'life0 self,
request: ProcessRemoteRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<ProcessRemoteResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn process_remote_repo<'life0, 'async_trait>(
&'life0 self,
request: ProcessRemoteRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<ProcessRemoteResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Process a remote repository
Source§fn get_file_metadata<'life0, 'async_trait>(
&'life0 self,
request: GetFileMetadataRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<GetFileMetadataResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_file_metadata<'life0, 'async_trait>(
&'life0 self,
request: GetFileMetadataRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<GetFileMetadataResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get metadata for a specific file
Source§fn search_codebase<'life0, 'async_trait>(
&'life0 self,
request: SearchCodebaseRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<SearchCodebaseResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn search_codebase<'life0, 'async_trait>(
&'life0 self,
request: SearchCodebaseRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<SearchCodebaseResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Search codebase for a query string
Source§fn diff_files<'life0, 'async_trait>(
&'life0 self,
request: DiffFilesRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<DiffFilesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn diff_files<'life0, 'async_trait>(
&'life0 self,
request: DiffFilesRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<DiffFilesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get diff between two files
Source§fn semantic_search<'life0, 'async_trait>(
&'life0 self,
request: SemanticSearchRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<SemanticSearchResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn semantic_search<'life0, 'async_trait>(
&'life0 self,
request: SemanticSearchRequest,
) -> Pin<Box<dyn Future<Output = RpcResult<SemanticSearchResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Perform semantic search across codebase
Auto Trait Implementations§
impl Freeze for CodebaseRpcImpl
impl !RefUnwindSafe for CodebaseRpcImpl
impl Send for CodebaseRpcImpl
impl Sync for CodebaseRpcImpl
impl Unpin for CodebaseRpcImpl
impl !UnwindSafe for CodebaseRpcImpl
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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