pub struct ComputeSpec {
pub id: String,
pub grpc: SocketAddr,
pub rdf4j_url: String,
pub admin_url: String,
}Expand description
One compute coordinator in the static membership list.
Fields§
§id: StringStable id (compute-0).
grpc: SocketAddrgRPC Describe/Health listen address.
rdf4j_url: StringAdvertised RDF4J HTTP prefix (may differ from the bind address).
admin_url: StringAdvertised Waratah admin HTTP prefix (/waratah).
Implementations§
Source§impl ComputeSpec
impl ComputeSpec
Sourcepub fn local(id: impl Into<String>, grpc: SocketAddr) -> Self
pub fn local(id: impl Into<String>, grpc: SocketAddr) -> Self
Local-dev spec with default advertised HTTP URLs.
Trait Implementations§
Source§impl Clone for ComputeSpec
impl Clone for ComputeSpec
Source§fn clone(&self) -> ComputeSpec
fn clone(&self) -> ComputeSpec
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 ComputeSpec
impl Debug for ComputeSpec
Source§impl PartialEq for ComputeSpec
impl PartialEq for ComputeSpec
impl Eq for ComputeSpec
impl StructuralPartialEq for ComputeSpec
Auto Trait Implementations§
impl Freeze for ComputeSpec
impl RefUnwindSafe for ComputeSpec
impl Send for ComputeSpec
impl Sync for ComputeSpec
impl Unpin for ComputeSpec
impl UnsafeUnpin for ComputeSpec
impl UnwindSafe for ComputeSpec
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