pub struct SubgraphExecutorMap { /* private fields */ }Implementations§
Source§impl SubgraphExecutorMap
impl SubgraphExecutorMap
pub fn new() -> Self
pub async fn execute<'a>( &self, subgraph_name: &str, execution_request: HttpExecutionRequest<'a>, ) -> Bytes
pub fn insert_boxed_arc( &mut self, subgraph_name: String, boxed_arc: SubgraphExecutorBoxedArc, )
pub fn from_http_endpoint_map( subgraph_endpoint_map: HashMap<String, String>, config: TrafficShapingExecutorConfig, ) -> Result<Self, SubgraphExecutorError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubgraphExecutorMap
impl !RefUnwindSafe for SubgraphExecutorMap
impl Send for SubgraphExecutorMap
impl Sync for SubgraphExecutorMap
impl Unpin for SubgraphExecutorMap
impl !UnwindSafe for SubgraphExecutorMap
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