pub struct StorageClient<T>where
T: Transport,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,{ /* private fields */ }Implementations§
Source§impl<T> StorageClient<T>where
T: Transport,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,
impl<T> StorageClient<T>where
T: Transport,
Bytes: Framing<DecBuf = FramingDecoded<T>>,
ProtocolEncoded<BinaryProtocol>: BufMutExt<Final = FramingEncodedFinal<T>>,
pub fn new(transport: T) -> Self
pub async fn scan_vertex( &self, req: &ScanVertexRequest, ) -> Result<ScanVertexResponse, ScanVertexError>
pub async fn scan_edge( &self, req: &ScanEdgeRequest, ) -> Result<ScanEdgeResponse, ScanEdgeError>
Auto Trait Implementations§
impl<T> Freeze for StorageClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for StorageClient<T>where
T: RefUnwindSafe,
impl<T> Send for StorageClient<T>
impl<T> Sync for StorageClient<T>
impl<T> Unpin for StorageClient<T>where
T: Unpin,
impl<T> UnwindSafe for StorageClient<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