pub struct StorageScanEdgeOutput<'a, MT = AsyncTransport<Compat<TcpStream>, Sleep, MetaTransportResponseHandler>, ST = AsyncTransport<Compat<TcpStream>, Sleep, StorageTransportResponseHandler>>where
MT: Transport + Framing<DecBuf = Cursor<Bytes>, EncBuf = BytesMut>,
ST: Transport + Framing<DecBuf = Cursor<Bytes>, EncBuf = BytesMut>,
Bytes: Framing<DecBuf = <MT as Framing>::DecBuf> + Framing<DecBuf = <ST as Framing>::DecBuf>,
<<BinaryProtocol<MT> as Protocol>::Frame as Framing>::EncBuf: BufMutExt<Final = <<MT as Framing>::EncBuf as BufMutExt>::Final>,
<<BinaryProtocol<ST> as Protocol>::Frame as Framing>::EncBuf: BufMutExt<Final = <<ST as Framing>::EncBuf as BufMutExt>::Final>,{ /* private fields */ }
Implementations§
source§impl<'a, MT, ST> StorageScanEdgeOutput<'a, MT, ST>where
MT: Transport + Framing<DecBuf = Cursor<Bytes>, EncBuf = BytesMut>,
ST: Transport + Framing<DecBuf = Cursor<Bytes>, EncBuf = BytesMut>,
Bytes: Framing<DecBuf = <MT as Framing>::DecBuf> + Framing<DecBuf = <ST as Framing>::DecBuf>,
<<BinaryProtocol<MT> as Protocol>::Frame as Framing>::EncBuf: BufMutExt<Final = <<MT as Framing>::EncBuf as BufMutExt>::Final>,
<<BinaryProtocol<ST> as Protocol>::Frame as Framing>::EncBuf: BufMutExt<Final = <<ST as Framing>::EncBuf as BufMutExt>::Final>,
impl<'a, MT, ST> StorageScanEdgeOutput<'a, MT, ST>where
MT: Transport + Framing<DecBuf = Cursor<Bytes>, EncBuf = BytesMut>,
ST: Transport + Framing<DecBuf = Cursor<Bytes>, EncBuf = BytesMut>,
Bytes: Framing<DecBuf = <MT as Framing>::DecBuf> + Framing<DecBuf = <ST as Framing>::DecBuf>,
<<BinaryProtocol<MT> as Protocol>::Frame as Framing>::EncBuf: BufMutExt<Final = <<MT as Framing>::EncBuf as BufMutExt>::Final>,
<<BinaryProtocol<ST> as Protocol>::Frame as Framing>::EncBuf: BufMutExt<Final = <<ST as Framing>::EncBuf as BufMutExt>::Final>,
pub fn new( space_id: i32, edge_prop: Option<EdgeProp>, leader_map: HashMap<i32, HostAddr>, sclient: &'a StorageClient<MT, ST>, ) -> Self
pub async fn execute( &mut self, ) -> Result<Vec<StorageQueryOutput>, StorageQueryError>
Auto Trait Implementations§
impl<'a, MT, ST> Freeze for StorageScanEdgeOutput<'a, MT, ST>
impl<'a, MT, ST> RefUnwindSafe for StorageScanEdgeOutput<'a, MT, ST>where
MT: RefUnwindSafe,
ST: RefUnwindSafe,
impl<'a, MT, ST> Send for StorageScanEdgeOutput<'a, MT, ST>
impl<'a, MT, ST> Sync for StorageScanEdgeOutput<'a, MT, ST>
impl<'a, MT, ST> Unpin for StorageScanEdgeOutput<'a, MT, ST>
impl<'a, MT, ST> UnwindSafe for StorageScanEdgeOutput<'a, MT, ST>where
MT: RefUnwindSafe,
ST: RefUnwindSafe,
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