pub struct MetaClient<T>where
T: Transport,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,{ /* private fields */ }Implementations§
Source§impl<T> MetaClient<T>where
T: Transport,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,
impl<T> MetaClient<T>where
T: Transport,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,
pub fn new(transport: T) -> Self
pub async fn list_spaces(&self) -> Result<ListSpacesResp, ListSpacesError>
pub async fn get_space( &self, space_name: &str, ) -> Result<GetSpaceResp, GetSpaceError>
pub async fn list_parts( &self, space_id: i32, part_ids: Vec<i32>, ) -> Result<ListPartsResp, ListPartsError>
pub async fn list_edges( &self, space_id: i32, ) -> Result<ListEdgesResp, ListTagsError>
Auto Trait Implementations§
impl<T> Freeze for MetaClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for MetaClient<T>where
T: RefUnwindSafe,
impl<T> Send for MetaClient<T>
impl<T> Sync for MetaClient<T>
impl<T> Unpin for MetaClient<T>where
T: Unpin,
impl<T> UnwindSafe for MetaClient<T>where
T: UnwindSafe,
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