pub enum ConfigErrorCode {
InvalidBindAddress,
InvalidDataDir,
InvalidMetricsBind,
PortConflict,
}Expand description
Machine-readable configuration error codes.
Variants§
InvalidBindAddress
The bind address is invalid (e.g., port out of range).
InvalidDataDir
The data directory path is empty or invalid.
InvalidMetricsBind
The metrics bind address is invalid.
PortConflict
The metrics bind address conflicts with the main bind address.
Trait Implementations§
Source§impl Clone for ConfigErrorCode
impl Clone for ConfigErrorCode
Source§fn clone(&self) -> ConfigErrorCode
fn clone(&self) -> ConfigErrorCode
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 ConfigErrorCode
impl Debug for ConfigErrorCode
Source§impl<'de> Deserialize<'de> for ConfigErrorCode
impl<'de> Deserialize<'de> for ConfigErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ConfigErrorCode
impl Display for ConfigErrorCode
Source§impl PartialEq for ConfigErrorCode
impl PartialEq for ConfigErrorCode
Source§impl Serialize for ConfigErrorCode
impl Serialize for ConfigErrorCode
impl Eq for ConfigErrorCode
impl StructuralPartialEq for ConfigErrorCode
Auto Trait Implementations§
impl Freeze for ConfigErrorCode
impl RefUnwindSafe for ConfigErrorCode
impl Send for ConfigErrorCode
impl Sync for ConfigErrorCode
impl Unpin for ConfigErrorCode
impl UnsafeUnpin for ConfigErrorCode
impl UnwindSafe for ConfigErrorCode
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