Enum metrics_server::ServerError
source · Expand description
The error type for MetricsServer operations.
Variants§
Create(String)
Represents an error encountered while creating a new server.
Stop(String)
Represents an error encountered while stopping the server.
Trait Implementations§
source§impl Debug for ServerError
impl Debug for ServerError
source§impl Display for ServerError
impl Display for ServerError
source§impl Error for ServerError
impl Error for ServerError
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()