Enum sozu_command_lib::config::ConfigError  
source · pub enum ConfigError {
Show 15 variants
    ParseSocketAddress {
        address: String,
        error: String,
    },
    Env(String),
    FileOpen {
        path_to_open: String,
        io_error: Error,
    },
    FileRead {
        path_to_read: String,
        io_error: Error,
    },
    Incompatible {
        kind: IncompatibilityKind,
        object: ObjectKind,
        id: String,
    },
    InvalidFrontendConfig(String),
    InvalidPath(PathBuf),
    ListenerAddressAlreadyInUse(String),
    Missing(MissingKind),
    NoFileParent(String),
    SaveStatePath(String),
    SocketPathError(String),
    DeserializeToml(String),
    WrongFrontendProtocol(ListenerProtocol),
    WrongListenerProtocol {
        expected: ListenerProtocol,
        found: Option<ListenerProtocol>,
    },
}Variants§
ParseSocketAddress
Env(String)
FileOpen
FileRead
Incompatible
InvalidFrontendConfig(String)
InvalidPath(PathBuf)
ListenerAddressAlreadyInUse(String)
Missing(MissingKind)
NoFileParent(String)
SaveStatePath(String)
SocketPathError(String)
DeserializeToml(String)
WrongFrontendProtocol(ListenerProtocol)
WrongListenerProtocol
Trait Implementations§
source§impl Debug for ConfigError
 
impl Debug for ConfigError
source§impl Display for ConfigError
 
impl Display for ConfigError
source§impl Error for ConfigError
 
impl Error for ConfigError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl !UnwindSafe for ConfigError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
§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
Mutably borrows from an owned value. Read more