Struct tvix_store::utils::ServiceUrls
source · pub struct ServiceUrls {
blob_service_addr: String,
directory_service_addr: String,
path_info_service_addr: String,
}
Expand description
Provides a set clap arguments to configure tvix-[ca]store services.
This particular variant has defaults tailored for usecases accessing data
directly locally, like the tvix-store daemon
command.
Fields§
§blob_service_addr: String
§directory_service_addr: String
§path_info_service_addr: String
Trait Implementations§
source§impl Args for ServiceUrls
impl Args for ServiceUrls
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for ServiceUrls
impl Clone for ServiceUrls
source§fn clone(&self) -> ServiceUrls
fn clone(&self) -> ServiceUrls
Returns a copy 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 CommandFactory for ServiceUrls
impl CommandFactory for ServiceUrls
source§impl From<ServiceUrlsGrpc> for ServiceUrls
impl From<ServiceUrlsGrpc> for ServiceUrls
source§fn from(urls: ServiceUrlsGrpc) -> ServiceUrls
fn from(urls: ServiceUrlsGrpc) -> ServiceUrls
Converts to this type from the input type.
source§impl From<ServiceUrlsMemory> for ServiceUrls
impl From<ServiceUrlsMemory> for ServiceUrls
source§fn from(urls: ServiceUrlsMemory) -> ServiceUrls
fn from(urls: ServiceUrlsMemory) -> ServiceUrls
Converts to this type from the input type.
source§impl FromArgMatches for ServiceUrls
impl FromArgMatches for ServiceUrls
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Parser for ServiceUrls
impl Parser for ServiceUrls
source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error.
Auto Trait Implementations§
impl Freeze for ServiceUrls
impl RefUnwindSafe for ServiceUrls
impl Send for ServiceUrls
impl Sync for ServiceUrls
impl Unpin for ServiceUrls
impl UnwindSafe for ServiceUrls
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> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request