pub struct Facts {
pub ssh_bind: SocketAddr,
pub grpc_bind: Option<SocketAddr>,
pub data_root: PathBuf,
pub build: String,
pub engine: Option<Engine>,
pub replication: ReplicationView,
pub tenants: TenantView,
pub flow: FlowView,
}Expand description
The facts serve knows and /proc does not.
Fields§
§ssh_bind: SocketAddr§grpc_bind: Option<SocketAddr>None = --no-grpc.
data_root: PathBuf§build: Stringgunnar_common::BUILD_REF — the build, not just the crate version.
engine: Option<Engine>The engine, so the tick can ask it for index progress. None = no
engine to ask (a render test).
replication: ReplicationViewWhere replication is read from.
A ReplicationView rather
than a replicator, because the band starts BEFORE the server does and
the replicator does not exist yet. Unfilled it reads “nothing
configured”, and the band draws no row — which is right for a box with
no standby and is not the same as drawing nothing because the wiring is
broken.
tenants: TenantViewWhere the tenants row is read from. See TenantView: unfilled
on a community build, filled by a metered server at start.
flow: FlowViewWhere the FLOW row is read from. See FlowView. Unlike
Facts::tenants this is filled on EVERY build, community included:
counting what moved is not the metered appliance’s capability, it is
every appliance’s, exactly as Usage is.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Facts
impl !UnwindSafe for Facts
impl Freeze for Facts
impl Send for Facts
impl Sync for Facts
impl Unpin for Facts
impl UnsafeUnpin for Facts
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
T in a tonic::Request