pub struct NeuromorphicQueryProcessor { /* private fields */ }Expand description
Neuromorphic query processor
Implementations§
Source§impl NeuromorphicQueryProcessor
impl NeuromorphicQueryProcessor
Sourcepub async fn new(
config: NeuromorphicConfig,
ai_predictor: Arc<AIQueryPredictor>,
) -> Result<Self>
pub async fn new( config: NeuromorphicConfig, ai_predictor: Arc<AIQueryPredictor>, ) -> Result<Self>
Create a new neuromorphic query processor
Sourcepub async fn process_query(&self, query: &str) -> Result<NeuromorphicResult>
pub async fn process_query(&self, query: &str) -> Result<NeuromorphicResult>
Process a GraphQL query using neuromorphic computation
Sourcepub async fn get_processing_stats(&self) -> ProcessingStats
pub async fn get_processing_stats(&self) -> ProcessingStats
Get processing statistics
Sourcepub async fn get_memory_patterns(&self) -> HashMap<String, MemoryPattern>
pub async fn get_memory_patterns(&self) -> HashMap<String, MemoryPattern>
Get memory patterns
Sourcepub async fn consolidate_memory(&self) -> Result<()>
pub async fn consolidate_memory(&self) -> Result<()>
Perform memory consolidation
Auto Trait Implementations§
impl !RefUnwindSafe for NeuromorphicQueryProcessor
impl !UnwindSafe for NeuromorphicQueryProcessor
impl Freeze for NeuromorphicQueryProcessor
impl Send for NeuromorphicQueryProcessor
impl Sync for NeuromorphicQueryProcessor
impl Unpin for NeuromorphicQueryProcessor
impl UnsafeUnpin for NeuromorphicQueryProcessor
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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