pub struct NodeCapabilities {
pub vector_search: bool,
pub gpu_acceleration: bool,
pub columnar_storage: bool,
pub in_memory: bool,
pub content_addressed: bool,
pub max_concurrent_queries: u32,
pub memory_limit: u64,
}Expand description
Node capabilities
Fields§
§vector_search: boolSupports vector search
gpu_acceleration: boolHas GPU acceleration
columnar_storage: boolHas columnar storage engine
in_memory: boolHas in-memory storage
content_addressed: boolHas content-addressed storage
max_concurrent_queries: u32Maximum concurrent queries
memory_limit: u64Memory limit in bytes
Implementations§
Source§impl NodeCapabilities
impl NodeCapabilities
Sourcepub fn vector_node() -> Self
pub fn vector_node() -> Self
Create with vector support
Sourcepub fn analytics_node() -> Self
pub fn analytics_node() -> Self
Create with analytics support
Sourcepub fn satisfies(&self, required: &NodeCapabilities) -> bool
pub fn satisfies(&self, required: &NodeCapabilities) -> bool
Check if node has required capabilities
Trait Implementations§
Source§impl Clone for NodeCapabilities
impl Clone for NodeCapabilities
Source§fn clone(&self) -> NodeCapabilities
fn clone(&self) -> NodeCapabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeCapabilities
impl Debug for NodeCapabilities
Source§impl Default for NodeCapabilities
impl Default for NodeCapabilities
Source§fn default() -> NodeCapabilities
fn default() -> NodeCapabilities
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeCapabilities
impl RefUnwindSafe for NodeCapabilities
impl Send for NodeCapabilities
impl Sync for NodeCapabilities
impl Unpin for NodeCapabilities
impl UnsafeUnpin for NodeCapabilities
impl UnwindSafe for NodeCapabilities
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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