pub enum ConfigField {
StateDir,
Listen,
OctoprintUrl,
OctoprintApiKey,
OctoprintFan,
SafetyEnvelope,
Harness,
Model,
SkillPath,
PromptTemplatePath,
IngressAnswerBoundMs,
IngressSharedSecret,
}Expand description
Every value this program is configured with, and the key it is spelled under.
The walk in this crate’s tier is over this array, and the array is compared against the configuration shapes’ own declared properties, so neither can grow a field the other does not know about.
Variants§
StateDir
Where the store, the images and the sessions live.
Listen
The address the API and the ingress are served on.
OctoprintUrl
Where the OctoPrint instance answers.
OctoprintApiKey
The key that instance authenticates every request by.
OctoprintFan
Whether the machine has a part-cooling fan this server may command.
SafetyEnvelope
The operator’s safety envelope.
Harness
The harness identity supervision turns run on.
Model
The model turns are pinned to, when one is pinned.
SkillPath
The PrintObserver skill sent as every turn’s system prompt.
PromptTemplatePath
The prompt template one turn fills.
IngressAnswerBoundMs
How long the ingress may take to answer, in milliseconds.
The shared secret the ingress requires of every post.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigField
impl Clone for ConfigField
Source§fn clone(&self) -> ConfigField
fn clone(&self) -> ConfigField
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ConfigField
Source§impl Debug for ConfigField
impl Debug for ConfigField
Source§impl Display for ConfigField
impl Display for ConfigField
impl Eq for ConfigField
Source§impl Hash for ConfigField
impl Hash for ConfigField
Source§impl Ord for ConfigField
impl Ord for ConfigField
Source§fn cmp(&self, other: &ConfigField) -> Ordering
fn cmp(&self, other: &ConfigField) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ConfigField
impl PartialEq for ConfigField
Source§impl PartialOrd for ConfigField
impl PartialOrd for ConfigField
impl StructuralPartialEq for ConfigField
Auto Trait Implementations§
impl Freeze for ConfigField
impl RefUnwindSafe for ConfigField
impl Send for ConfigField
impl Sync for ConfigField
impl Unpin for ConfigField
impl UnsafeUnpin for ConfigField
impl UnwindSafe for ConfigField
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
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> 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> ⓘ
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> ⓘ
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