pub struct LocalRegistryClients {
service: RegistryService,
}Expand description
In-process string-registry client (one dictionary, matching the MVP).
Fields§
§service: RegistryServiceImplementations§
Trait Implementations§
Source§impl BlobStoreClient for LocalRegistryClients
impl BlobStoreClient for LocalRegistryClients
Source§async fn put_blob_chunks(
&self,
blob_id: StrHash,
payload: Arc<[u8]>,
) -> Result<(), Status>
async fn put_blob_chunks( &self, blob_id: StrHash, payload: Arc<[u8]>, ) -> Result<(), Status>
Stream one blob’s chunks under the gRPC message budget (legacy path
for blobs above the
PutBlobs batch budget; the 64 MiB blob size
limit is enforced server-side at assembly).Source§impl Clone for LocalRegistryClients
impl Clone for LocalRegistryClients
Source§fn clone(&self) -> LocalRegistryClients
fn clone(&self) -> LocalRegistryClients
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 Debug for LocalRegistryClients
impl Debug for LocalRegistryClients
Source§impl RegistryAdmin for LocalRegistryClients
impl RegistryAdmin for LocalRegistryClients
Source§async fn describe(
&self,
_node: RegistryNodeId,
) -> Result<RegistryDescribe, Status>
async fn describe( &self, _node: RegistryNodeId, ) -> Result<RegistryDescribe, Status>
Identity and operational metrics for
node.Source§impl StringRegistryCompact for LocalRegistryClients
impl StringRegistryCompact for LocalRegistryClients
Source§async fn compact_range(&self) -> Result<(), Status>
async fn compact_range(&self) -> Result<(), Status>
Ask every connected registry node to compact its dictionary CF.
Source§impl StringRegistryFlush for LocalRegistryClients
impl StringRegistryFlush for LocalRegistryClients
Source§async fn flush_memtables(&self) -> Result<(), Status>
async fn flush_memtables(&self) -> Result<(), Status>
Ask every connected registry node to flush its MemTables.
Source§impl StringResolve for LocalRegistryClients
impl StringResolve for LocalRegistryClients
Auto Trait Implementations§
impl Freeze for LocalRegistryClients
impl RefUnwindSafe for LocalRegistryClients
impl Send for LocalRegistryClients
impl Sync for LocalRegistryClients
impl Unpin for LocalRegistryClients
impl UnsafeUnpin for LocalRegistryClients
impl UnwindSafe for LocalRegistryClients
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> 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>
Converts
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>
Converts
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)
Converts
&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)
Converts
&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>
Converts
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>
Converts
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>
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].