pub enum ConfigField {
Show 42 variants
StateDir,
Listen,
OctoprintUrl,
OctoprintApiKey,
OctoprintFan,
SafetyEnvelope,
Harness,
Model,
SkillPath,
PromptTemplatePath,
ObservationIntervalS,
PrinterPollS,
UnattendedWindowS,
AutoCompactTokens,
IdleCompactTokens,
CheckTurnTimeoutS,
IngressAnswerBoundMs,
IngressSharedSecret,
ApiCredential,
ApiCredentialVerifier,
CameraSnapshotUrl,
CameraCalibration,
ObicoUrl,
ObicoAccessToken,
ObicoMlApiUrl,
ObicoPrinterId,
VisionBlankFrameMaxStddev,
SpoolsPreflight,
SpoolsBufferPercent,
SpoolsBufferMinG,
SpoolsAnalysisWaitSeconds,
SheetsAllowed,
RecoveryAwayFromBed,
RecoveryMaxZMm,
RecoveryMaxLiftMm,
RecoveryClearanceMarginMm,
RecoveryParkXy,
RecoveryZHomeXy,
RecoveryZHomeSweepsBed,
PolicyRecoveryOperator,
PolicyRecoveryAgent,
PolicyRecoveryAsserting,
}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.
ObservationIntervalS
How often every active print is observed, in seconds.
PrinterPollS
How often the printer watch reads the machine, in seconds.
UnattendedWindowS
How long after an unfinished ending the printer acting on its own is recorded, in seconds.
AutoCompactTokens
The conversation size at which the harness compacts a session during a turn, in tokens.
IdleCompactTokens
The conversation size at or above which a session is compacted while idle, in tokens.
CheckTurnTimeoutS
How long a harness check’s one turn may take, in seconds.
IngressAnswerBoundMs
How long the ingress may take to answer, in milliseconds.
The shared secret the ingress requires of every post.
ApiCredential
A plaintext operator credential, read for an installation that wrote one until it is replaced by its verifier.
ApiCredentialVerifier
The verifier the operator’s credential is checked against.
CameraSnapshotUrl
Where a fresh frame of the print is fetched from, when a camera is configured.
CameraCalibration
The camera’s calibration file, when one is configured.
ObicoUrl
Where Obico’s own API answers, when it is configured.
ObicoAccessToken
The bearer token Obico’s API is reached with.
ObicoMlApiUrl
Where the failure detector’s own service answers its health check.
ObicoPrinterId
Which of Obico’s printers its record of the print is read from.
VisionBlankFrameMaxStddev
The grey-level spread at or below which a camera frame is blank.
SpoolsPreflight
What a start does when the spool check finds a problem.
SpoolsBufferPercent
The margin asked beyond a print’s requirement, as a percentage of it.
SpoolsBufferMinG
The least margin asked, in grams.
SpoolsAnalysisWaitSeconds
How long a start waits for a file’s analysis, in seconds.
SheetsAllowed
Which build sheets each material may be printed on.
RecoveryAwayFromBed
Which way along Z moves the nozzle away from the bed.
RecoveryMaxZMm
The highest Z the machine reaches, in millimetres.
RecoveryMaxLiftMm
The longest lift one recovery may ask for, in millimetres.
RecoveryClearanceMarginMm
How far above the tallest part the nozzle must be, in millimetres.
RecoveryParkXy
Where a park moves the head, in X and Y.
RecoveryZHomeXy
Where the machine homes Z, in X and Y.
RecoveryZHomeSweepsBed
Whether homing Z brings a gantry down over the whole bed.
PolicyRecoveryOperator
The recovery actions the operator may ask for.
PolicyRecoveryAgent
The recovery actions the agent may ask for.
PolicyRecoveryAsserting
The actor classes whose clearance assertions count.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigField
impl Clone for ConfigField
impl 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
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 Forget for ConfigField
impl Freeze for ConfigField
impl Move 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
impl<T> ErasedDestructor for Twhere
T: 'static,
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.