pub enum ConfigValidationError {
Show 28 variants
ConfigIdentifierMustNotBeEmpty {
field_name: String,
},
TranscriptionProvidersMustNotBeEmpty {
field_name: String,
},
DuplicateTranscriptionProviders {
field_name: String,
provider_ids: Vec<String>,
},
AppleSpeechLocaleMustNotBeEmpty,
WhisperCppModelMustNotBeEmpty,
WhisperCppModelDirMustNotBeEmpty,
DeepgramEndpointMustNotBeEmpty,
DeepgramModelMustNotBeEmpty,
DeepgramLanguageMustNotBeEmpty,
PipelineDeadlineMsMustBePositive,
PipelineMustContainAtLeastOneStep,
StepTimeoutMsMustBePositive {
step_id: String,
},
DuplicatePipelineStepId {
step_id: String,
},
HotkeyChordMustNotBeEmpty {
hotkey_name: String,
},
DoubleTapTimeoutMsMustBePositive {
hotkey_name: String,
},
IndicatorColorMustBeHex {
color_name: String,
color_value: String,
},
RecordingSampleRateKhzMustBePositive,
RefineEndpointMustNotBeEmpty,
RefineModelMustNotBeEmpty,
RefineTemperatureMustBeNonNegative,
RefineMaxOutputTokensMustBePositive,
RefineRatioMustBeBetweenZeroAndOne {
field_name: String,
value: String,
},
VoiceIndicatorGlyphMustBeSingleAsciiLetter {
voice_id: String,
value: String,
},
UnknownVoiceReference {
profile_id: String,
voice_id: String,
},
UnknownProfileReference {
field_name: String,
profile_id: String,
},
DuplicateProfileRuleId {
rule_id: String,
},
ProfileRuleMustIncludeAtLeastOneMatcher {
rule_id: String,
},
ProfileRuleFieldMustNotBeEmpty {
rule_id: String,
field_name: String,
},
}Variants§
ConfigIdentifierMustNotBeEmpty
TranscriptionProvidersMustNotBeEmpty
DuplicateTranscriptionProviders
AppleSpeechLocaleMustNotBeEmpty
WhisperCppModelMustNotBeEmpty
WhisperCppModelDirMustNotBeEmpty
DeepgramEndpointMustNotBeEmpty
DeepgramModelMustNotBeEmpty
DeepgramLanguageMustNotBeEmpty
PipelineDeadlineMsMustBePositive
PipelineMustContainAtLeastOneStep
StepTimeoutMsMustBePositive
DuplicatePipelineStepId
HotkeyChordMustNotBeEmpty
DoubleTapTimeoutMsMustBePositive
IndicatorColorMustBeHex
RecordingSampleRateKhzMustBePositive
RefineEndpointMustNotBeEmpty
RefineModelMustNotBeEmpty
RefineTemperatureMustBeNonNegative
RefineMaxOutputTokensMustBePositive
RefineRatioMustBeBetweenZeroAndOne
VoiceIndicatorGlyphMustBeSingleAsciiLetter
UnknownVoiceReference
UnknownProfileReference
DuplicateProfileRuleId
ProfileRuleMustIncludeAtLeastOneMatcher
ProfileRuleFieldMustNotBeEmpty
Trait Implementations§
Source§impl Clone for ConfigValidationError
impl Clone for ConfigValidationError
Source§fn clone(&self) -> ConfigValidationError
fn clone(&self) -> ConfigValidationError
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 ConfigValidationError
impl Debug for ConfigValidationError
Source§impl Display for ConfigValidationError
impl Display for ConfigValidationError
Source§impl Error for ConfigValidationError
impl Error for ConfigValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ConfigValidationError> for ConfigError
impl From<ConfigValidationError> for ConfigError
Source§fn from(source: ConfigValidationError) -> Self
fn from(source: ConfigValidationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfigValidationError
impl PartialEq for ConfigValidationError
impl Eq for ConfigValidationError
impl StructuralPartialEq for ConfigValidationError
Auto Trait Implementations§
impl Freeze for ConfigValidationError
impl RefUnwindSafe for ConfigValidationError
impl Send for ConfigValidationError
impl Sync for ConfigValidationError
impl Unpin for ConfigValidationError
impl UnsafeUnpin for ConfigValidationError
impl UnwindSafe for ConfigValidationError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key and return true if they are equal.