pub struct LocalHexastoreClients {
partitions: BTreeMap<PartitionAxis, PartitionService>,
}Expand description
In-process hexastore clients keyed by partition axis.
Fields§
§partitions: BTreeMap<PartitionAxis, PartitionService>Implementations§
Trait Implementations§
Source§impl Clone for LocalHexastoreClients
impl Clone for LocalHexastoreClients
Source§fn clone(&self) -> LocalHexastoreClients
fn clone(&self) -> LocalHexastoreClients
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LocalHexastoreClients
impl Debug for LocalHexastoreClients
Source§impl HexastoreAdmin for LocalHexastoreClients
impl HexastoreAdmin for LocalHexastoreClients
Source§async fn describe(
&self,
axis: PartitionAxis,
) -> Result<HexastoreDescribe, Status>
async fn describe( &self, axis: PartitionAxis, ) -> Result<HexastoreDescribe, Status>
axis.Source§impl HexastoreAxisHeadStats for LocalHexastoreClients
impl HexastoreAxisHeadStats for LocalHexastoreClients
Source§async fn axis_head_max_commit_ts(
&self,
permutation: IndexPermutation,
head_prefixes: &[Vec<u8>],
) -> Result<u64, Status>
async fn axis_head_max_commit_ts( &self, permutation: IndexPermutation, head_prefixes: &[Vec<u8>], ) -> Result<u64, Status>
head_prefixes. Every version counts — liveness is not
evaluated — so the result only ever overestimates the true bound,
which is safe for the geo upgrade’s stage-1 swap timestamp.Source§impl HexastoreCatalog for LocalHexastoreClients
impl HexastoreCatalog for LocalHexastoreClients
Source§async fn list_named_graphs(
&self,
snapshot: SnapshotId,
) -> Result<Vec<EncodedTerm>, Status>
async fn list_named_graphs( &self, snapshot: SnapshotId, ) -> Result<Vec<EncodedTerm>, Status>
snapshot.Source§async fn add_named_graph(
&self,
graph: &EncodedTerm,
commit_ts: CommitTs,
) -> Result<(), Status>
async fn add_named_graph( &self, graph: &EncodedTerm, commit_ts: CommitTs, ) -> Result<(), Status>
Source§impl HexastoreCompact for LocalHexastoreClients
impl HexastoreCompact for LocalHexastoreClients
Source§async fn compact_range(&self, axis: PartitionAxis) -> Result<(), Status>
async fn compact_range(&self, axis: PartitionAxis) -> Result<(), Status>
axis to compact both column families (no-op on memory backends).Source§impl HexastoreFlush for LocalHexastoreClients
impl HexastoreFlush for LocalHexastoreClients
Source§async fn flush_memtables(&self, axis: PartitionAxis) -> Result<(), Status>
async fn flush_memtables(&self, axis: PartitionAxis) -> Result<(), Status>
axis to flush its RocksDB MemTables (no-op on memory backends).Source§impl HexastoreGeo for LocalHexastoreClients
impl HexastoreGeo for LocalHexastoreClients
Source§async fn rebuild_geo_index(&self) -> Result<(bool, bool, u64), Status>
async fn rebuild_geo_index(&self) -> Result<(bool, bool, u64), Status>
Begin the geo index rebuild: take the rebuild lease and wipe the
geo_index CF. already_in_progress is the complement of started,
exactly how the partition’s gRPC handler derives the pair from
begin_geo_rebuild’s Option.
The lease needs no extra coordination on this path. begin_geo_rebuild
already keeps it as a plain Option<Instant> deadline, and in
waratah standalone the only client that can hold it is the compute node in
this process — a driver that dies takes the process with it, so the
deadline’s expired-stale takeover can only ever fire against a lease
this same process abandoned.
Source§async fn renew_geo_rebuild_lease(&self) -> Result<(), Status>
async fn renew_geo_rebuild_lease(&self) -> Result<(), Status>
Refresh the held rebuild lease (the driver calls this per batch so a slow walk is not taken over).
Source§async fn finish_geo_index_rebuild(&self) -> Result<u64, Status>
async fn finish_geo_index_rebuild(&self) -> Result<u64, Status>
Finish the geo index rebuild: stamp epoch = max commit_ts observed
on the partition and release the lease. Fails without a fresh lease,
same as the gRPC path.
Source§async fn put_temporal_index(
&self,
puts: &[TemporalIndexPut],
) -> Result<u64, Status>
async fn put_temporal_index( &self, puts: &[TemporalIndexPut], ) -> Result<u64, Status>
Apply temporal-index postings on the O partition.
Without this the trait’s default returns unimplemented, and every
temporal write plugin posting is dropped in waratah standalone: the index
stays empty AND its epoch stays unstamped, so the comparison rewrite’s
trust gate refuses to fire and queries fall back to the unindexed
residual. Right answers, no index, nothing logged. The geo twin above
is implemented; this is the parity it was missing.
Source§async fn temporal_candidate_scan(
&self,
intervals: &[TemporalCellInterval],
snapshot: SnapshotId,
predicate: TemporalQueryPredicate,
limit: u64,
) -> Result<TermPageStream, Status>
async fn temporal_candidate_scan( &self, intervals: &[TemporalCellInterval], snapshot: SnapshotId, predicate: TemporalQueryPredicate, limit: u64, ) -> Result<TermPageStream, Status>
Drain one temporal candidate scan (never cursor-paged; the partition owns the DISTINCT seen-set for the drain).
Source§async fn rebuild_temporal_index(
&self,
config: DyadicCovererConfig,
) -> Result<(bool, bool), Status>
async fn rebuild_temporal_index( &self, config: DyadicCovererConfig, ) -> Result<(bool, bool), Status>
Trigger the O-axis temporal rebuild, mirroring the partition’s
gRPC handler: started says this call ran the walk,
already_in_progress is its complement (the in-progress flag is
compare-exchanged, so a loser reports Ok(false) rather than
blocking).
Source§async fn put_geo_index(&self, puts: &[GeoIndexPut]) -> Result<u64, Status>
async fn put_geo_index(&self, puts: &[GeoIndexPut]) -> Result<u64, Status>
Source§async fn delete_geo_term(&self, term: &[u8]) -> Result<u64, Status>
async fn delete_geo_term(&self, term: &[u8]) -> Result<u64, Status>
Source§async fn geo_candidate_scan(
&self,
intervals: &[GeoCellInterval],
snapshot: SnapshotId,
query_envelope: Option<GeoEnvelope>,
limit: u64,
) -> Result<TermPageStream, Status>
async fn geo_candidate_scan( &self, intervals: &[GeoCellInterval], snapshot: SnapshotId, query_envelope: Option<GeoEnvelope>, limit: u64, ) -> Result<TermPageStream, Status>
query_envelope enables the partition-side AABB reject; limit of
0 is unlimited (and is a per-drain cap, not a cursor).Source§async fn put_text_index(&self, docs: &[TextIndexDoc]) -> Result<u64, Status>
async fn put_text_index(&self, docs: &[TextIndexDoc]) -> Result<u64, Status>
InsertQuads calls, so a visible row never
lacks its document. The partition commits and reloads its reader
before acknowledging.Source§async fn text_candidate_scan(
&self,
request: &TextSearchRequest,
snapshot: SnapshotId,
) -> Result<TermPageStream, Status>
async fn text_candidate_scan( &self, request: &TextSearchRequest, snapshot: SnapshotId, ) -> Result<TermPageStream, Status>
limit of 0 is unlimited (and is a
per-drain guard that errors, not a cursor).Source§async fn text_subject_scan(
&self,
request: &TextSubjectRequest,
snapshot: SnapshotId,
) -> Result<SubjectRowStream, Status>
async fn text_subject_scan( &self, request: &TextSubjectRequest, snapshot: SnapshotId, ) -> Result<SubjectRowStream, Status>
Source§async fn rebuild_text_index(
&self,
analyzer: &str,
seed_chars: u32,
fingerprint: &str,
wipe: bool,
) -> Result<(bool, bool, u64), Status>
async fn rebuild_text_index( &self, analyzer: &str, seed_chars: u32, fingerprint: &str, wipe: bool, ) -> Result<(bool, bool, u64), Status>
(started, already_in_progress, lease_token) — the token is the caller’s proof
of lease ownership (non-zero exactly when started); every renew /
finish must carry it. The calling compute drives the walk and
finishes with Self::finish_text_index_rebuild.Source§async fn renew_text_rebuild_lease(&self, lease_token: u64) -> Result<(), Status>
async fn renew_text_rebuild_lease(&self, lease_token: u64) -> Result<(), Status>
lease_token identifies the current fresh lease.Source§async fn finish_text_index_rebuild(
&self,
lease_token: u64,
stamp: bool,
) -> Result<u64, Status>
async fn finish_text_index_rebuild( &self, lease_token: u64, stamp: bool, ) -> Result<u64, Status>
stamp
— stamp the partition’s max-seen commit_ts as the epoch. stamp = false releases without stamping (the index stays untrusted). Returns
the stamped epoch (0 when not stamping). Rejected unless
lease_token identifies the current fresh lease.Source§impl HexastoreInsert for LocalHexastoreClients
impl HexastoreInsert for LocalHexastoreClients
Source§async fn insert_quads(
&self,
axis: PartitionAxis,
versions: &[QuadVersion],
) -> Result<u64, Status>
async fn insert_quads( &self, axis: PartitionAxis, versions: &[QuadVersion], ) -> Result<u64, Status>
versions on axis (asserted in the request for axis isolation).Source§async fn replace_quads(
&self,
pairs: &[ReplacePair],
commit_ts: CommitTs,
) -> Result<u64, Status>
async fn replace_quads( &self, pairs: &[ReplacePair], commit_ts: CommitTs, ) -> Result<u64, Status>
Source§impl HexastoreScan for LocalHexastoreClients
impl HexastoreScan for LocalHexastoreClients
Source§async fn scan_pattern_with_comparisons(
&self,
axis: PartitionAxis,
pattern: &EncodedTriplePattern,
snapshot: SnapshotId,
limit: u64,
permutation: Option<IndexPermutation>,
filter: Option<&BroadcastFilter>,
graph_filter: Option<&GraphFilter>,
start_after: Option<&EncodedQuad>,
merge_default_graph: bool,
iri_only: IriOnlyMask,
comparisons: &[SlotComparison],
omitted: u8,
verdict_wanted: bool,
) -> Result<ScanPage, Status>
async fn scan_pattern_with_comparisons( &self, axis: PartitionAxis, pattern: &EncodedTriplePattern, snapshot: SnapshotId, limit: u64, permutation: Option<IndexPermutation>, filter: Option<&BroadcastFilter>, graph_filter: Option<&GraphFilter>, start_after: Option<&EncodedQuad>, merge_default_graph: bool, iri_only: IriOnlyMask, comparisons: &[SlotComparison], omitted: u8, verdict_wanted: bool, ) -> Result<ScanPage, Status>
In-process mirror of the partition’s ScanPattern handler: the
comparisons go straight into scan_filtered_packed’s walk, with no
proto round-trip for the comparison list itself. The packed page is
still decoded below, so the comparison semantics are the same ones
the wire path exercises.
Source§async fn scan_pattern_stream_with_comparisons(
&self,
axis: PartitionAxis,
pattern: &EncodedTriplePattern,
snapshot: SnapshotId,
limit: u64,
permutation: Option<IndexPermutation>,
filter: Option<&BroadcastFilter>,
graph_filter: Option<&GraphFilter>,
start_after: Option<&EncodedQuad>,
merge_default_graph: bool,
iri_only: IriOnlyMask,
comparisons: &[SlotComparison],
omitted: u8,
verdict_wanted: bool,
) -> Result<QuadPageStream, Status>
async fn scan_pattern_stream_with_comparisons( &self, axis: PartitionAxis, pattern: &EncodedTriplePattern, snapshot: SnapshotId, limit: u64, permutation: Option<IndexPermutation>, filter: Option<&BroadcastFilter>, graph_filter: Option<&GraphFilter>, start_after: Option<&EncodedQuad>, merge_default_graph: bool, iri_only: IriOnlyMask, comparisons: &[SlotComparison], omitted: u8, verdict_wanted: bool, ) -> Result<QuadPageStream, Status>
Mirror of the partition’s ScanPatternStream handler: ONE continuous
scan_filtered_streaming walk packed into frames on a bounded
channel, so the eager path’s compute-side drain logic sees the same
streaming shape it gets over real gRPC (the trait default would
return one unlimited page).
Both frame branches (caller-thread and dispatched) hand the comparison list to the same walk, so the in-process stream applies exactly the rows the wire stream would.
Source§async fn scan_domain(
&self,
permutation: IndexPermutation,
constraints: &[EncodedTerm],
snapshot: SnapshotId,
limit: u64,
start_after_constraint: Option<&EncodedTerm>,
start_after_term: Option<&EncodedTerm>,
graph_name: Option<&EncodedTerm>,
graph_filter: Option<&GraphFilter>,
iri_only_head: bool,
) -> Result<Vec<DomainScanHit>, Status>
async fn scan_domain( &self, permutation: IndexPermutation, constraints: &[EncodedTerm], snapshot: SnapshotId, limit: u64, start_after_constraint: Option<&EncodedTerm>, start_after_term: Option<&EncodedTerm>, graph_name: Option<&EncodedTerm>, graph_filter: Option<&GraphFilter>, iri_only_head: bool, ) -> Result<Vec<DomainScanHit>, Status>
Distinct slot-1 head terms under each slot-0 constraint of
permutation.
Source§async fn scan_domain_counts(
&self,
permutation: IndexPermutation,
constraints: &[EncodedTerm],
snapshot: SnapshotId,
limit: u64,
start_after_constraint: Option<&EncodedTerm>,
start_after_term: Option<&EncodedTerm>,
graph_name: Option<&EncodedTerm>,
graph_filter: Option<&GraphFilter>,
iri_only_head: bool,
merge_default_graph: bool,
mode: DomainCountMode,
) -> Result<Vec<DomainScanCountHit>, Status>
async fn scan_domain_counts( &self, permutation: IndexPermutation, constraints: &[EncodedTerm], snapshot: SnapshotId, limit: u64, start_after_constraint: Option<&EncodedTerm>, start_after_term: Option<&EncodedTerm>, graph_name: Option<&EncodedTerm>, graph_filter: Option<&GraphFilter>, iri_only_head: bool, merge_default_graph: bool, mode: DomainCountMode, ) -> Result<Vec<DomainScanCountHit>, Status>
Run lengths of slot-1 head terms under each slot-0 constraint of
permutation.
Source§async fn scan_axis_head(
&self,
permutation: IndexPermutation,
snapshot: SnapshotId,
limit: u64,
start_after_term: Option<&EncodedTerm>,
graph_name: Option<&EncodedTerm>,
graph_filter: Option<&GraphFilter>,
iri_only_head: bool,
head_prefixes: &[Vec<u8>],
) -> Result<Vec<EncodedTerm>, Status>
async fn scan_axis_head( &self, permutation: IndexPermutation, snapshot: SnapshotId, limit: u64, start_after_term: Option<&EncodedTerm>, graph_name: Option<&EncodedTerm>, graph_filter: Option<&GraphFilter>, iri_only_head: bool, head_prefixes: &[Vec<u8>], ) -> Result<Vec<EncodedTerm>, Status>
Distinct slot-0 head terms of the whole permutation CF.
Source§async fn scan_pattern(
&self,
axis: PartitionAxis,
pattern: &EncodedTriplePattern,
snapshot: SnapshotId,
limit: u64,
permutation: Option<IndexPermutation>,
filter: Option<&BroadcastFilter>,
graph_filter: Option<&GraphFilter>,
start_after: Option<&EncodedQuad>,
merge_default_graph: bool,
iri_only: IriOnlyMask,
omitted: u8,
verdict_wanted: bool,
) -> Result<ScanPage, Status>
async fn scan_pattern( &self, axis: PartitionAxis, pattern: &EncodedTriplePattern, snapshot: SnapshotId, limit: u64, permutation: Option<IndexPermutation>, filter: Option<&BroadcastFilter>, graph_filter: Option<&GraphFilter>, start_after: Option<&EncodedQuad>, merge_default_graph: bool, iri_only: IriOnlyMask, omitted: u8, verdict_wanted: bool, ) -> Result<ScanPage, Status>
Source§async fn scan_pattern_stream(
&self,
axis: PartitionAxis,
pattern: &EncodedTriplePattern,
snapshot: SnapshotId,
limit: u64,
permutation: Option<IndexPermutation>,
filter: Option<&BroadcastFilter>,
graph_filter: Option<&GraphFilter>,
start_after: Option<&EncodedQuad>,
merge_default_graph: bool,
iri_only: IriOnlyMask,
omitted: u8,
verdict_wanted: bool,
) -> Result<QuadPageStream, Status>
async fn scan_pattern_stream( &self, axis: PartitionAxis, pattern: &EncodedTriplePattern, snapshot: SnapshotId, limit: u64, permutation: Option<IndexPermutation>, filter: Option<&BroadcastFilter>, graph_filter: Option<&GraphFilter>, start_after: Option<&EncodedQuad>, merge_default_graph: bool, iri_only: IriOnlyMask, omitted: u8, verdict_wanted: bool, ) -> Result<QuadPageStream, Status>
Source§async fn count_pattern(
&self,
axis: PartitionAxis,
pattern: &EncodedTriplePattern,
snapshot: SnapshotId,
limit: u64,
permutation: Option<IndexPermutation>,
filter: Option<&BroadcastFilter>,
graph_filter: Option<&GraphFilter>,
merge_default_graph: bool,
) -> Result<u64, Status>
async fn count_pattern( &self, axis: PartitionAxis, pattern: &EncodedTriplePattern, snapshot: SnapshotId, limit: u64, permutation: Option<IndexPermutation>, filter: Option<&BroadcastFilter>, graph_filter: Option<&GraphFilter>, merge_default_graph: bool, ) -> Result<u64, Status>
Source§async fn count_axis_heads(
&self,
permutation: IndexPermutation,
snapshot: SnapshotId,
graph_name: Option<&EncodedTerm>,
graph_filter: Option<&GraphFilter>,
iri_only_head: bool,
) -> Result<u64, Status>
async fn count_axis_heads( &self, permutation: IndexPermutation, snapshot: SnapshotId, graph_name: Option<&EncodedTerm>, graph_filter: Option<&GraphFilter>, iri_only_head: bool, ) -> Result<u64, Status>
TOTAL mode: the number of distinct slot-0 head
terms of the whole CF for permutation.Source§async fn scan_axis_head_counts(
&self,
permutation: IndexPermutation,
snapshot: SnapshotId,
limit: u64,
start_after_term: Option<&EncodedTerm>,
graph_name: Option<&EncodedTerm>,
graph_filter: Option<&GraphFilter>,
iri_only_head: bool,
) -> Result<Vec<AxisHeadCountHit>, Status>
async fn scan_axis_head_counts( &self, permutation: IndexPermutation, snapshot: SnapshotId, limit: u64, start_after_term: Option<&EncodedTerm>, graph_name: Option<&EncodedTerm>, graph_filter: Option<&GraphFilter>, iri_only_head: bool, ) -> Result<Vec<AxisHeadCountHit>, Status>
PER_HEAD mode: per-head distinct slot-1 counts,
paged at head boundaries with an exclusive resume cursor.Source§fn scan_pattern_detached(
&self,
axis: PartitionAxis,
pattern: &EncodedTriplePattern,
snapshot: SnapshotId,
limit: u64,
permutation: Option<IndexPermutation>,
filter: Option<&BroadcastFilter>,
graph_filter: Option<&GraphFilter>,
start_after: Option<&EncodedQuad>,
merge_default_graph: bool,
iri_only: IriOnlyMask,
omitted: u8,
verdict_wanted: bool,
) -> JoinHandle<Result<(Vec<EncodedQuad>, Option<ScanExhaustion>), Status>>
fn scan_pattern_detached( &self, axis: PartitionAxis, pattern: &EncodedTriplePattern, snapshot: SnapshotId, limit: u64, permutation: Option<IndexPermutation>, filter: Option<&BroadcastFilter>, graph_filter: Option<&GraphFilter>, start_after: Option<&EncodedQuad>, merge_default_graph: bool, iri_only: IriOnlyMask, omitted: u8, verdict_wanted: bool, ) -> JoinHandle<Result<(Vec<EncodedQuad>, Option<ScanExhaustion>), Status>>
limit rows in a detached task that owns a clone of
the client; the returned handle completes with the rows and the
walk’s verdict once the task finishes. Read moreSource§fn scan_pattern_detached_with_comparisons(
&self,
axis: PartitionAxis,
pattern: &EncodedTriplePattern,
snapshot: SnapshotId,
limit: u64,
permutation: Option<IndexPermutation>,
filter: Option<&BroadcastFilter>,
graph_filter: Option<&GraphFilter>,
start_after: Option<&EncodedQuad>,
merge_default_graph: bool,
iri_only: IriOnlyMask,
comparisons: &[SlotComparison],
omitted: u8,
verdict_wanted: bool,
) -> JoinHandle<Result<(Vec<EncodedQuad>, Option<ScanExhaustion>), Status>>
fn scan_pattern_detached_with_comparisons( &self, axis: PartitionAxis, pattern: &EncodedTriplePattern, snapshot: SnapshotId, limit: u64, permutation: Option<IndexPermutation>, filter: Option<&BroadcastFilter>, graph_filter: Option<&GraphFilter>, start_after: Option<&EncodedQuad>, merge_default_graph: bool, iri_only: IriOnlyMask, comparisons: &[SlotComparison], omitted: u8, verdict_wanted: bool, ) -> JoinHandle<Result<(Vec<EncodedQuad>, Option<ScanExhaustion>), Status>>
Self::scan_pattern_detached with slot comparison pushdown. Read moreSource§impl HexastoreStats for LocalHexastoreClients
impl HexastoreStats for LocalHexastoreClients
Source§async fn stats_profile(&self, axis: PartitionAxis) -> Result<Vec<u8>, Status>
async fn stats_profile(&self, axis: PartitionAxis) -> Result<Vec<u8>, Status>
waratah_stats::StatsProfile blob from axis
(geo/temporal sections empty — each rides its own frame below).Source§async fn geo_histogram(
&self,
axis: PartitionAxis,
section: GeoHistogramSection,
) -> Result<Vec<u8>, Status>
async fn geo_histogram( &self, axis: PartitionAxis, section: GeoHistogramSection, ) -> Result<Vec<u8>, Status>
axis: self-versioned
GeoCellHistogram section bytes carrying exactly the requested map
(the unrequested maps empty — subset-populated sections are valid
merge inputs on their own).Source§async fn temporal_histogram(
&self,
axis: PartitionAxis,
) -> Result<Vec<u8>, Status>
async fn temporal_histogram( &self, axis: PartitionAxis, ) -> Result<Vec<u8>, Status>
axis: self-versioned
TickHistogram section bytes (bounded by construction, untrimmed).Source§async fn text_seed_sketch(&self, axis: PartitionAxis) -> Result<Vec<u8>, Status>
async fn text_seed_sketch(&self, axis: PartitionAxis) -> Result<Vec<u8>, Status>
axis: self-versioned
TextSeedSketch section bytes, wire-trimmed deepest-first at the
partition. Empty bytes = no trusted sketch (never built, wiped, or
undecodable) — the caller keeps its unpriced estimate.Auto Trait Implementations§
impl Freeze for LocalHexastoreClients
impl RefUnwindSafe for LocalHexastoreClients
impl Send for LocalHexastoreClients
impl Sync for LocalHexastoreClients
impl Unpin for LocalHexastoreClients
impl UnsafeUnpin for LocalHexastoreClients
impl UnwindSafe for LocalHexastoreClients
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].