pub struct EmbeddedClient { /* private fields */ }Expand description
In-process client that wraps a GraphStore directly.
No network overhead — queries execute in the same process. Ideal for examples, tests, and embedded applications.
Implementations§
Source§impl EmbeddedClient
impl EmbeddedClient
Sourcepub fn with_store(store: Arc<RwLock<GraphStore>>) -> Self
pub fn with_store(store: Arc<RwLock<GraphStore>>) -> Self
Create an EmbeddedClient wrapping an existing store
Sourcepub fn store(&self) -> &Arc<RwLock<GraphStore>>
pub fn store(&self) -> &Arc<RwLock<GraphStore>>
Get a reference to the underlying store (for direct graph manipulation)
Sourcepub async fn store_read(&self) -> RwLockReadGuard<'_, GraphStore>
pub async fn store_read(&self) -> RwLockReadGuard<'_, GraphStore>
Acquire a read lock on the store.
Use for direct read-only access to graph data (node/edge lookups, iterations).
Sourcepub async fn store_write(&self) -> RwLockWriteGuard<'_, GraphStore>
pub async fn store_write(&self) -> RwLockWriteGuard<'_, GraphStore>
Acquire a write lock on the store.
Use for direct mutation (create_node, set_property, etc.).
Sourcepub fn nlq_pipeline(&self, config: NLQConfig) -> Result<NLQPipeline, NLQError>
pub fn nlq_pipeline(&self, config: NLQConfig) -> Result<NLQPipeline, NLQError>
Create an NLQ pipeline for natural language → Cypher translation.
Sourcepub fn agent_runtime(&self, config: AgentConfig) -> AgentRuntime
pub fn agent_runtime(&self, config: AgentConfig) -> AgentRuntime
Create an agent runtime for agentic enrichment workflows.
Sourcepub fn persistence_manager(
&self,
base_path: impl AsRef<Path>,
) -> Result<PersistenceManager, PersistenceError>
pub fn persistence_manager( &self, base_path: impl AsRef<Path>, ) -> Result<PersistenceManager, PersistenceError>
Create a persistence manager for durable storage.
Sourcepub fn cache_stats(&self) -> &CacheStats
pub fn cache_stats(&self) -> &CacheStats
Return AST cache statistics (hits, misses).
Sourcepub async fn export_snapshot(
&self,
_tenant: &str,
path: &Path,
) -> Result<ExportStats, Box<dyn Error>>
pub async fn export_snapshot( &self, _tenant: &str, path: &Path, ) -> Result<ExportStats, Box<dyn Error>>
Export a snapshot of the current graph store to a file.
Sourcepub async fn import_snapshot(
&self,
_tenant: &str,
path: &Path,
) -> Result<ImportStats, Box<dyn Error>>
pub async fn import_snapshot( &self, _tenant: &str, path: &Path, ) -> Result<ImportStats, Box<dyn Error>>
Import a snapshot into the current graph store from a file.
Trait Implementations§
Source§impl AlgorithmClient for EmbeddedClient
impl AlgorithmClient for EmbeddedClient
Source§fn build_view<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
weight_prop: Option<&'life3 str>,
) -> Pin<Box<dyn Future<Output = GraphView> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn build_view<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
weight_prop: Option<&'life3 str>,
) -> Pin<Box<dyn Future<Output = GraphView> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
GraphView projection for algorithm execution. Read moreSource§fn page_rank<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
config: PageRankConfig,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = HashMap<u64, f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn page_rank<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
config: PageRankConfig,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = HashMap<u64, f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn weakly_connected_components<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = WccResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn weakly_connected_components<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = WccResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn strongly_connected_components<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = SccResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn strongly_connected_components<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = SccResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn bfs<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: u64,
target: u64,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Option<PathResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn bfs<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: u64,
target: u64,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Option<PathResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn dijkstra<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
source: u64,
target: u64,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
weight_prop: Option<&'life3 str>,
) -> Pin<Box<dyn Future<Output = Option<PathResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn dijkstra<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
source: u64,
target: u64,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
weight_prop: Option<&'life3 str>,
) -> Pin<Box<dyn Future<Output = Option<PathResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn edmonds_karp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: u64,
sink: u64,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Option<FlowResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn edmonds_karp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: u64,
sink: u64,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Option<FlowResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn prim_mst<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
weight_prop: Option<&'life3 str>,
) -> Pin<Box<dyn Future<Output = MSTResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn prim_mst<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
weight_prop: Option<&'life3 str>,
) -> Pin<Box<dyn Future<Output = MSTResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn count_triangles<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = usize> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn count_triangles<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = usize> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn bfs_all_shortest_paths<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: u64,
target: u64,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Vec<PathResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn bfs_all_shortest_paths<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: u64,
target: u64,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Vec<PathResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn cdlp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
config: CdlpConfig,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = CdlpResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn cdlp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
config: CdlpConfig,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = CdlpResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn local_clustering_coefficient<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = LccResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn local_clustering_coefficient<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
edge_type: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = LccResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn pca<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
properties: &'life2 [&'life3 str],
config: PcaConfig,
) -> Pin<Box<dyn Future<Output = PcaResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn pca<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: Option<&'life1 str>,
properties: &'life2 [&'life3 str],
config: PcaConfig,
) -> Pin<Box<dyn Future<Output = PcaResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§impl Default for EmbeddedClient
impl Default for EmbeddedClient
Source§impl GraphmindClient for EmbeddedClient
impl GraphmindClient for EmbeddedClient
Source§fn query<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
graph: &'life1 str,
cypher: &'life2 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn query<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
graph: &'life1 str,
cypher: &'life2 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn query_with_params<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
graph: &'life1 str,
cypher: &'life2 str,
params: HashMap<String, Value>,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn query_with_params<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
graph: &'life1 str,
cypher: &'life2 str,
params: HashMap<String, Value>,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn query_readonly<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
cypher: &'life2 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn query_readonly<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
cypher: &'life2 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn delete_graph<'life0, 'life1, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_graph<'life0, 'life1, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn list_graphs<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = GraphmindResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_graphs<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = GraphmindResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn status<'life0, 'life1, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<ServerStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn status<'life0, 'life1, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<ServerStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn ping<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = GraphmindResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ping<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = GraphmindResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn schema<'life0, 'life1, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn schema<'life0, 'life1, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn explain<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
cypher: &'life2 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn explain<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
cypher: &'life2 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn profile<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
cypher: &'life2 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn profile<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_graph: &'life1 str,
cypher: &'life2 str,
) -> Pin<Box<dyn Future<Output = GraphmindResult<QueryResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§impl VectorClient for EmbeddedClient
impl VectorClient for EmbeddedClient
Source§fn create_vector_index<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: &'life1 str,
property: &'life2 str,
dimensions: usize,
metric: DistanceMetric,
) -> Pin<Box<dyn Future<Output = GraphmindResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_vector_index<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
label: &'life1 str,
property: &'life2 str,
dimensions: usize,
metric: DistanceMetric,
) -> Pin<Box<dyn Future<Output = GraphmindResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn add_vector<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: &'life1 str,
property: &'life2 str,
node_id: NodeId,
vector: &'life3 [f32],
) -> Pin<Box<dyn Future<Output = GraphmindResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn add_vector<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: &'life1 str,
property: &'life2 str,
node_id: NodeId,
vector: &'life3 [f32],
) -> Pin<Box<dyn Future<Output = GraphmindResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn vector_search<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: &'life1 str,
property: &'life2 str,
query_vec: &'life3 [f32],
k: usize,
) -> Pin<Box<dyn Future<Output = GraphmindResult<Vec<(NodeId, f32)>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn vector_search<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
label: &'life1 str,
property: &'life2 str,
query_vec: &'life3 [f32],
k: usize,
) -> Pin<Box<dyn Future<Output = GraphmindResult<Vec<(NodeId, f32)>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl !Freeze for EmbeddedClient
impl !RefUnwindSafe for EmbeddedClient
impl Send for EmbeddedClient
impl Sync for EmbeddedClient
impl Unpin for EmbeddedClient
impl UnsafeUnpin for EmbeddedClient
impl !UnwindSafe for EmbeddedClient
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more