pub struct ComputeAdminService { /* private fields */ }Expand description
Identity advertised on the compute gRPC Describe RPC.
Implementations§
Source§impl ComputeAdminService
impl ComputeAdminService
Sourcepub fn new(
config: Arc<ClusterConfig>,
describe_mode: DescribeMode,
default_union: bool,
) -> Result<Self, RouterError>
pub fn new( config: Arc<ClusterConfig>, describe_mode: DescribeMode, default_union: bool, ) -> Result<Self, RouterError>
Build from this process’s cluster config and SPARQL knobs.
Sourcepub fn with_repositories(self, repositories: Vec<RepoInfo>) -> Self
pub fn with_repositories(self, repositories: Vec<RepoInfo>) -> Self
Override repositories (defaults to main).
Sourcepub fn with_standalone(self, standalone: bool) -> Self
pub fn with_standalone(self, standalone: bool) -> Self
In-process S/P/O + registry (waratah standalone).
Trait Implementations§
Source§impl Clone for ComputeAdminService
impl Clone for ComputeAdminService
Source§fn clone(&self) -> ComputeAdminService
fn clone(&self) -> ComputeAdminService
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Compute for ComputeAdminService
impl Compute for ComputeAdminService
fn health<'life0, 'async_trait>(
&'life0 self,
_request: Request<HealthRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<HealthResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe<'life0, 'async_trait>(
&'life0 self,
_request: Request<ComputeDescribeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ComputeDescribeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for ComputeAdminService
impl RefUnwindSafe for ComputeAdminService
impl Send for ComputeAdminService
impl Sync for ComputeAdminService
impl Unpin for ComputeAdminService
impl UnsafeUnpin for ComputeAdminService
impl UnwindSafe for ComputeAdminService
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
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>,
Applies the layer to a service and wraps it in [
Layered].