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 Freeze for Nodes
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