Struct weaviate_community::Nodes
source · pub struct Nodes { /* private fields */ }
Expand description
All nodes related endpoints and functionality described in Weaviate nodes API documentation
Implementations§
source§impl Nodes
impl Nodes
sourcepub async fn get_nodes_status(&self) -> Result<MultiNodes, Box<dyn Error>>
pub async fn get_nodes_status(&self) -> Result<MultiNodes, Box<dyn Error>>
Get the node status for all nodes in the Weaviate instance.
§Examples
use weaviate_community::WeaviateClient;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>>{
let client = WeaviateClient::builder("http://localhost:8080").build()?;
let res = client.nodes.get_nodes_status().await?;
Ok(())
}
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Nodes
impl Send for Nodes
impl Sync for Nodes
impl Unpin for Nodes
impl !UnwindSafe for Nodes
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